object Request
- Companion
- class
class Object
trait Matchable
class Any
Type members
Classlikes
final case class Connection(local: SocketAddress[IpAddress], remote: SocketAddress[IpAddress], secure: Boolean)
Value members
Concrete methods
def apply[F[_]](method: Method, uri: Uri, httpVersion: HttpVersion, headers: Headers, body: EntityBody[F], attributes: Vault): 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.
- Value Params
- attributes
Immutable Map used for carrying additional information in a type safe fashion
- body
fs2.Stream[F, Byte] defining the body of the request
- headers
collection of Headers
- httpVersion
the HTTP version
- method
Method.GET, Method.POST, etc.
- uri
representation of the request URI
def unapply[F[_]](request: Request[F]): Option[(Method, Uri, HttpVersion, Headers, EntityBody[F], Vault)]