Request

org.http4s.Request$
See theRequest companion class
object Request

Attributes

Companion:
class
Source:
Message.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Request.type

Members list

Concise view

Type members

Classlikes

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

Attributes

Source:
Message.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Keys

Attributes

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

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.

Attributes

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

Source:
Message.scala
def unapply[F[_]](request: Request[F]): Option[(Method, Uri, HttpVersion, Headers, EntityBody[F], Vault)]

Attributes

Source:
Message.scala