RequestId

org.http4s.server.middleware.RequestId$
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

Attributes

Source:
RequestId.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object httpApp

Attributes

Source:
RequestId.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
httpApp.type
object httpRoutes

Attributes

Source:
RequestId.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[G[_], F[_]](http: Http[G, F])(implicit G: Sync[G]): Http[G, F]

Attributes

Source:
RequestId.scala
def apply[G[_], F[_]](headerName: CIString)(http: Http[G, F])(implicit G: Sync[G], gen: UUIDGen[G]): Http[G, F]

Attributes

Source:
RequestId.scala
def apply[G[_], F[_]](fk: FunctionK[F, G], headerName: CIString, genReqId: F[UUID])(http: Http[G, F])(implicit G: FlatMap[G], F: Sync[F]): Http[G, F]

Attributes

Source:
RequestId.scala

Deprecated methods

def apply[G[_], F[_]](headerName: CIString, http: Http[G, F], G: Sync[G]): Http[G, F]

Attributes

Deprecated
true
Source:
RequestId.scala

Concrete fields