not really known
Go to file
2023-08-15 10:51:00 +00:00
example-server Make test server work. Add nginx.conf. 2023-07-24 18:30:50 +00:00
request-track Add simple echo middleware for tracking headers. 2023-07-20 13:33:35 +00:00
request-track-servant Fix module export. 2023-08-15 10:51:00 +00:00
.gitignore Initial. 2023-07-15 23:12:03 +00:00
nginx.conf Make test server work. Add nginx.conf. 2023-07-24 18:30:50 +00:00
README.org Add README 2023-07-26 22:20:20 +00:00
stack.yaml Add OpenAPI instances 2023-08-14 14:53:17 +00:00

Request tracking framework

Mechanism

See this note for the mechanism description.

Lower-level API

request-track library provides WAI primitives to handle the passed headers. At the very least you would want to use echoMiddleware in order to send back the tracking headers in every HTTP reply.

Servant API

request-track-servant provides combinators to use with Servant. See the haddock documentation for more info.

Example server

example-server directory contains a simple HTTP server that uses all this stuff.