org.http4s.blaze.http
package org.http4s.blaze.http
Type members
Classlikes
trait BodyReader
Representation of a HTTP message body
- Note
- The release of resources must be idempotent, meaning that
discard()
may
be called after complete consumption of the body and it may also be called
numerous times. - Companion
- object
HTTP response received by the client
- Value Params
- body
-
BodyReader used to consume the response body.
- code
-
Response code
- headers
-
Response headers
- status
-
Response message. This have no meaning for the HTTP connection, its just for human enjoyment.
- Companion
- object
object HeaderNames
Incomplete collection of header names, all lower case for
easy compatibility with HTTP/2.
easy compatibility with HTTP/2.
sealed trait HttpClientSession
Representation of a concrete HTTP session
The HttpClientSession represents a true HTTP client session, either
HTTP/1.x or HTTP/2.
HTTP/1.x or HTTP/2.
- Companion
- object
case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)
Standard HTTP request
- Value Params
- body
-
function which returns the next chunk of the request body. Termination is
signaled by an emptyByteBuffer
as determined byByteBuffer.hasRemaining()
. - headers
-
request headers
- method
-
HTTP request method
- url
-
request url