Packages

object Request extends Serializable

Source
Message.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Request
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Connection(local: SocketAddress[IpAddress], remote: SocketAddress[IpAddress], secure: Boolean) extends Product with Serializable

Value Members

  1. 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

  2. def unapply[F[_]](request: Request[F]): Option[(Method, Uri, HttpVersion, Headers, EntityBody[F], Vault)]
  3. object Keys