Packages

package http

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package http2
  2. package parser
  3. package util

Type Members

  1. trait BodyReader extends AnyRef

    Representation of a HTTP message body

    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.

  2. case class ClientResponse(code: Int, status: String, headers: Headers, body: BodyReader) extends Product with Serializable

    HTTP response received by the client

    HTTP response received by the client

    code

    Response code

    status

    Response message. This have no meaning for the HTTP connection, its just for human enjoyment.

    headers

    Response headers

    body

    BodyReader used to consume the response body.

  3. type Headers = Seq[(String, String)]
  4. trait Http1ClientSession extends HttpClientSession
  5. trait Http2ClientSession extends HttpClientSession
  6. sealed trait HttpClientSession extends AnyRef

    Representation of a concrete HTTP session

    Representation of a concrete HTTP session

    The HttpClientSession represents a true HTTP client session, either HTTP/1.x or HTTP/2.

  7. case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader) extends Product with Serializable

    Standard HTTP request

    Standard HTTP request

    method

    HTTP request method

    url

    request url

    headers

    request headers

    body

    function which returns the next chunk of the request body. Termination is signaled by an empty ByteBuffer as determined by ByteBuffer.hasRemaining().

  8. type Method = String
  9. type Url = String

Value Members

  1. object BodyReader
  2. object ClientResponse extends Serializable
  3. object HeaderNames

    Incomplete collection of header names, all lower case for easy compatibility with HTTP/2.

  4. object HttpClientSession

Inherited from AnyRef

Inherited from Any

Ungrouped