Request

object Request
Companion:
class
class Object
trait Matchable
class Any
Request.type

Type members

Classlikes

final case class Connection(local: SocketAddress[IpAddress], remote: SocketAddress[IpAddress], secure: Boolean)
object Keys

Value members

Concrete methods

def apply[F[_]](method: Method, uri: Uri, httpVersion: HttpVersion, headers: Headers, entity: Entity[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 parameters:
attributes

Immutable Map used for carrying additional information in a type safe fashion

entity

Entity 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)]