p

httpc

http

package http

HTTP protocol

Linear Supertypes
Http, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http
  2. Http
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Entity [A] extends AnyRef

    Content that can be converted to a Request

  2. case class Header (name: String, value: String) extends Product with Serializable

    An HTTP header

  3. trait HeaderConstruction extends AnyRef
  4. trait HeaderNames extends AnyRef
  5. case class Headers extends Product with Serializable
  6. trait Http extends AnyRef

    Module API

  7. type HttpAction[A] = Kleisli[[β$0$]Either[HttpError, β$0$], Interpreter, A]
  8. sealed trait HttpError extends AnyRef
  9. case class Message (headers: Headers, body: ByteVector) extends Product with Serializable

    An HTTP message

  10. sealed trait Method extends EnumEntry
  11. trait NetProtocol extends AnyRef

    Operations not defined by this protocol can be done using the net package directly

  12. trait Render [A] extends Serializable

    Rendering of data structures into bytes

  13. case class Request (method: Method, resource: Resource, message: Message) extends Product with Serializable

    An HTTP request

  14. case class Resource (path: Option[String] = None, query: Option[String] = None, fragment: Option[String] = None) extends Product with Serializable
  15. case class Response (status: Status, headers: Headers, body: ByteVector) extends Product with Serializable

    An HTTP response

  16. final case class Status (value: Int) extends AnyVal with Product with Serializable
  17. case class Url (protocol: String, auth: Option[String], host: String, port: Option[Port], resource: Resource) extends Product with Serializable

Value Members

  1. val HttpVersion: ByteVector
    Definition Classes
    Http
  2. def buildRequest[A](method: Method, url: Url, data: A, userHeaders: Headers)(implicit arg0: Entity[A]): Request
    Definition Classes
    Http
  3. def dispatch(url: Url, r: Request): HttpAction[Response]

    Dispatches a request yielding a response for it

    Dispatches a request yielding a response for it

    Definition Classes
    Http
  4. def run[A](command: HttpAction[A]): Either[HttpError, A]
    Definition Classes
    Http
  5. object Entity
  6. object Header extends HeaderConstruction with Serializable
  7. object HeaderNames extends HeaderNames
  8. object Headers extends Serializable
  9. object HttpAction
  10. object HttpError
  11. object Message extends Serializable
  12. object Method extends Enum[Method]
  13. object NetProtocol
  14. object Render extends Serializable
  15. object Request extends Serializable
  16. object Resource extends Serializable
  17. object Status extends Serializable
  18. object Url extends Serializable

Inherited from Http

Inherited from AnyRef

Inherited from Any

Ungrouped