package
sttp
Type Members
-
type
BodySerializer[B] = (B) ⇒ BasicRequestBody
-
type
Empty[X] = None.type
-
type
Id[X] = X
-
type
PartialRequest[T, +S] = RequestT[Empty, T, S]
-
type
Request[T, +S] = RequestT[Id, T, S]
Value Members
-
val
DefaultReadTimeout: Duration
-
def
asByteArray: ResponseAs[Array[Byte], Nothing]
-
def
asFile(file: File, overwrite: Boolean): ResponseAs[File, Nothing]
-
def
asParams(encoding: String): ResponseAs[Seq[(String, String)], Nothing]
-
def
asParams: ResponseAs[Seq[(String, String)], Nothing]
-
def
asPath(path: Path, overwrite: Boolean): ResponseAs[Path, Nothing]
-
def
asStream[S]: ResponseAs[S, S]
-
def
asString(encoding: String): ResponseAs[String, Nothing]
-
def
asString: ResponseAs[String, Nothing]
-
-
val
emptyRequest: RequestT[Empty, String, Nothing]
-
def
ignore: ResponseAs[Unit, Nothing]
-
def
multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Multipart
-
def
multipart(name: String, fs: Seq[(String, String)], encoding: String): Multipart
-
def
multipart(name: String, fs: Seq[(String, String)]): Multipart
-
def
multipart(name: String, fs: Map[String, String], encoding: String): Multipart
-
def
multipart(name: String, fs: Map[String, String]): Multipart
-
def
multipart(name: String, data: Path): Multipart
-
def
multipart(name: String, data: File): Multipart
-
def
multipart(name: String, data: InputStream): Multipart
-
def
multipart(name: String, data: ByteBuffer): Multipart
-
def
multipart(name: String, data: Array[Byte]): Multipart
-
def
multipart(name: String, data: String, encoding: String): Multipart
-
def
multipart(name: String, data: String): Multipart
-
val
sttp: RequestT[Empty, String, Nothing]
Inherited from AnyRef
Inherited from Any