https://github.com/typeable/request-track
https://github.com/typeable/request-track
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/typeable/request-track
- Owner: typeable
- Created: 2023-07-15T23:14:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T10:51:06.000Z (over 2 years ago)
- Last Synced: 2025-01-16T04:13:41.862Z (about 1 year ago)
- Language: Haskell
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: Request tracking framework
#+AUTHOR: Nick
* Mechanism
See [[https://github.com/typeable/technical_notes/blob/master/Request%20Tracking/Tracking.org][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.