object Request extends Serializable
- Source
- Message.scala
- Alphabetic
- By Inheritance
- Request
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Connection(local: SocketAddress[IpAddress], remote: SocketAddress[IpAddress], secure: Boolean) extends Product with Serializable
Value Members
-
def
apply[F[_]](method: Method = Method.GET, uri: Uri = Uri(path = Uri.Path.Root), httpVersion: HttpVersion = HttpVersion.`HTTP/1.1`, headers: Headers = Headers.empty, body: EntityBody[F] = EmptyBody, attributes: Vault = Vault.empty): Request[F]
Representation of an incoming HTTP message
Representation of an incoming HTTP message
A Request encapsulates the entirety of the incoming HTTP request including the status line, headers, and a possible request body.
- method
Method.GET, Method.POST, etc.
- uri
representation of the request URI
- httpVersion
the HTTP version
- headers
collection of Headers
- body
fs2.Stream[F, Byte] defining the body of the request
- attributes
Immutable Map used for carrying additional information in a type safe fashion
- def unapply[F[_]](request: Request[F]): Option[(Method, Uri, HttpVersion, Headers, EntityBody[F], Vault)]
- object Keys