org.http4s.Request
See theRequest companion class
object Request
Attributes
- Companion
- class
- Source
- Message.scala
- Graph
-
- Supertypes
- Self type
-
Request.type
Members list
Type members
Classlikes
final case class Connection(local: SocketAddress[IpAddress], remote: SocketAddress[IpAddress], secure: Boolean)
Attributes
- Source
- Message.scala
- Supertypes
object Keys
Attributes
- Source
- Message.scala
- Supertypes
- 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.
Value parameters
- 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
Attributes
- Source
- Message.scala
Attributes
- Source
- Message.scala
In this article