Package

httpc

http

Permalink

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

    Permalink

    Content that can be converted to a Request

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

    Permalink

    An HTTP header

  3. trait HeaderConstruction extends AnyRef

    Permalink
  4. trait HeaderNames extends AnyRef

    Permalink
  5. case class Headers extends Product with Serializable

    Permalink
  6. trait Http extends AnyRef

    Permalink

    Module API

  7. type HttpAction[A] = Kleisli[[β$0$]Either[HttpError, β$0$], Interpreter, A]

    Permalink
  8. sealed trait HttpError extends AnyRef

    Permalink
  9. case class Message(headers: Headers, body: ByteVector) extends Product with Serializable

    Permalink

    An HTTP message

  10. sealed trait Method extends EnumEntry

    Permalink
  11. trait NetProtocol extends AnyRef

    Permalink

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

  12. trait Render[A] extends Serializable

    Permalink

    Rendering of data structures into bytes

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

    Permalink

    An HTTP request

  14. case class Resource(path: Option[String] = None, query: Option[String] = None, fragment: Option[String] = None) extends Product with Serializable

    Permalink
  15. case class Response(status: Status, headers: List[Header], body: ByteVector) extends Product with Serializable

    Permalink

    An HTTP response

  16. case class Status(value: Int) extends Product with Serializable

    Permalink
  17. case class Url(protocol: String, auth: Option[String], host: String, port: Option[Port], resource: Resource) extends Product with Serializable

    Permalink

Value Members

  1. object Entity

    Permalink
  2. object Header extends HeaderConstruction with Serializable

    Permalink
  3. object HeaderNames extends HeaderNames

    Permalink
  4. object Headers extends Serializable

    Permalink
  5. object HttpAction

    Permalink
  6. object HttpError

    Permalink
  7. val HttpVersion: ByteVector

    Permalink
    Definition Classes
    Http
  8. object Message extends Serializable

    Permalink
  9. object Method extends Enum[Method]

    Permalink
  10. object NetProtocol

    Permalink
  11. object Render extends Serializable

    Permalink
  12. object Request extends Serializable

    Permalink
  13. object Resource extends Serializable

    Permalink
  14. object Status extends Serializable

    Permalink
  15. object Url extends Serializable

    Permalink
  16. def buildRequest[A](method: Method, url: Url, data: A, userHeaders: Headers)(implicit arg0: Entity[A]): Request

    Permalink
    Definition Classes
    Http
  17. def dispatch(url: Url, r: Request): HttpAction[Response]

    Permalink

    Dispatches a request yielding a response for it

    Dispatches a request yielding a response for it

    Definition Classes
    Http
  18. def run[A](command: HttpAction[A]): Either[HttpError, A]

    Permalink
    Definition Classes
    Http

Inherited from Http

Inherited from AnyRef

Inherited from Any

Ungrouped