package convenient
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- convenient
- Convenient
- HeaderConstruction
- HeaderNames
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class HttpError (e: http.HttpError) extends HttpcError with Product with Serializable
-
type
Httpc[A] = Kleisli[[β$0$]Either[HttpcError, β$0$], Interpreter, A]
- Definition Classes
- Convenient
- sealed trait HttpcError extends AnyRef
- case class MalformedUrl (url: String) extends HttpcError with Product with Serializable
- trait ToHeader [A] extends AnyRef
Value Members
-
val
CacheControl: String
- Definition Classes
- HeaderNames
-
val
ContentLength: String
- Definition Classes
- HeaderNames
-
val
ContentType: String
- Definition Classes
- HeaderNames
-
val
Host: String
- Definition Classes
- HeaderNames
-
val
TransferEncoding: String
- Definition Classes
- HeaderNames
-
val
UserAgent: String
- Definition Classes
- HeaderNames
-
val
cacheControlNoCache: Header
- Definition Classes
- HeaderConstruction
-
def
contentLength(length: Long): Header
Content-Length header
Content-Length header
- Definition Classes
- HeaderConstruction
-
def
contentType(value: String): Header
Content-Type header
Content-Type header
- Definition Classes
- HeaderConstruction
-
val
contentTypeJson: Header
- Definition Classes
- HeaderConstruction
-
def
delete[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
get[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
head[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
host(hostname: String): Header
Host header
Host header
- Definition Classes
- HeaderConstruction
-
def
options[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
patch[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
post[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
put[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
request[A, B](method: Method, url: String, data: A = "", headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
def
run[A](action: Httpc[A]): Either[HttpcError, A]
- Definition Classes
- Convenient
-
def
trace[A, B](url: String, data: A = ByteVector.empty, headers: Traversable[B] = List.empty[Header])(implicit arg0: Entity[A], arg1: ToHeader[B]): Httpc[Response]
- Definition Classes
- Convenient
-
val
transferEncodingChunked: Header
- Definition Classes
- HeaderConstruction
-
def
userAgent(value: String): Header
- Definition Classes
- HeaderConstruction
- object HttpcError
- object ToHeader