object RequestId
Propagate a X-Request-Id
header to the response, generate a UUID
when the X-Request-Id
header is unset.
https://devcenter.heroku.com/articles/http-request-id
- Source
- RequestId.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestId
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def apply[G[_], F[_]](fk: ~>[F, G], headerName: CaseInsensitiveString = requestIdHeader, genReqId: F[UUID])(http: Http[G, F])(implicit G: FlatMap[G], F: Sync[F]): Http[G, F]
- def apply[G[_], F[_]](headerName: CaseInsensitiveString)(http: Http[G, F])(implicit G: Sync[G]): Http[G, F]
- def apply[G[_], F[_]](http: Http[G, F])(implicit G: Sync[G]): Http[G, F]
- val requestIdAttrKey: Key[String]
- object httpApp
- object httpRoutes