package client
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- client
- SttpApi
- UriInterpolator
- SttpExtensions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type BodySerializer[B] = (B) ⇒ BasicRequestBody
- type Empty[X] = None.type
- type Identity[X] = X
- type NothingT[X] = Nothing
- type PartialRequest[T, +S] = RequestT[Empty, T, S]
- type Request[T, +S] = RequestT[Identity, T, S]
- type RetryWhen = (Request[_, _], Either[Throwable, Response[_]]) ⇒ Boolean
-
implicit
class
UriContext extends AnyRef
- Definition Classes
- UriInterpolator
Value Members
-
val
DefaultReadTimeout: Duration
- Definition Classes
- SttpApi
-
def
asByteArray: ResponseAs[Either[String, Array[Byte]], Nothing]
- Definition Classes
- SttpApi
-
def
asByteArrayAlways: ResponseAs[Array[Byte], Nothing]
- Definition Classes
- SttpApi
-
def
asEither[L, R, S](onError: ResponseAs[L, S], onSuccess: ResponseAs[R, S]): ResponseAs[Either[L, R], S]
- Definition Classes
- SttpApi
-
def
asFile(file: File): ResponseAs[Either[String, File], Nothing]
- Definition Classes
- SttpExtensions
-
def
asFileAlways(file: File): ResponseAs[File, Nothing]
- Definition Classes
- SttpExtensions
-
def
asParams(charset: String): ResponseAs[Either[String, Seq[(String, String)]], Nothing]
- Definition Classes
- SttpApi
-
def
asParams: ResponseAs[Either[String, Seq[(String, String)]], Nothing]
- Definition Classes
- SttpApi
-
def
asPath(path: Path): ResponseAs[Either[String, Path], Nothing]
- Definition Classes
- SttpExtensions
-
def
asPathAlways(path: Path): ResponseAs[Path, Nothing]
- Definition Classes
- SttpExtensions
-
def
asStream[S]: ResponseAs[Either[String, S], S]
- Definition Classes
- SttpApi
-
def
asStreamAlways[S]: ResponseAs[S, S]
- Definition Classes
- SttpApi
-
def
asString(charset: String): ResponseAs[Either[String, String], Nothing]
- Definition Classes
- SttpApi
-
def
asString: ResponseAs[Either[String, String], Nothing]
- Definition Classes
- SttpApi
-
def
asStringAlways(charset: String): ResponseAs[String, Nothing]
- Definition Classes
- SttpApi
-
def
asStringAlways: ResponseAs[String, Nothing]
- Definition Classes
- SttpApi
-
val
basicRequest: RequestT[Empty, Either[String, String], Nothing]
- Definition Classes
- SttpApi
-
val
emptyRequest: RequestT[Empty, Either[String, String], Nothing]
- Definition Classes
- SttpApi
-
def
fromMetadata[T, S](f: (ResponseMetadata) ⇒ ResponseAs[T, S]): ResponseAs[T, S]
- Definition Classes
- SttpApi
-
def
ignore: ResponseAs[Unit, Nothing]
- Definition Classes
- SttpApi
-
def
multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, fs: Seq[(String, String)], encoding: String): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, fs: Seq[(String, String)]): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, fs: Map[String, String], encoding: String): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, fs: Map[String, String]): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, data: InputStream): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, data: ByteBuffer): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, data: Array[Byte]): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, data: String, encoding: String): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipart(name: String, data: String): Part[BasicRequestBody]
- Definition Classes
- SttpApi
-
def
multipartFile(name: String, data: Path): Part[BasicRequestBody]
- Definition Classes
- SttpExtensions
-
def
multipartFile(name: String, data: File): Part[BasicRequestBody]
- Definition Classes
- SttpExtensions
-
val
quickRequest: RequestT[Empty, String, Nothing]
- Definition Classes
- SttpApi