git.iko.soy/typeable/request-track
on master help sign in
18 lines 670 B history raw
1#+TITLE: Request tracking framework
2#+AUTHOR: Nick <nick@typeable.io>
4* Mechanism
6See [[https://github.com/typeable/technical_notes/blob/master/Request%20Tracking/Tracking.org][this note]] for the mechanism description.
8* Lower-level API
10~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.
12* Servant API
14~request-track-servant~ provides combinators to use with Servant. See the haddock documentation for more info.
16* Example server
18~example-server~ directory contains a simple HTTP server that uses all this stuff.