Packages

p

sttp

client

package client

Linear Supertypes
SttpApi, UriInterpolator, SttpExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client
  2. SttpApi
  3. UriInterpolator
  4. SttpExtensions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type BodySerializer[B] = (B) => BasicRequestBody
  2. type Empty[X] = None.type
  3. type Identity[X] = X
  4. type NothingT[X] = Nothing
  5. type PartialRequest[T, +S] = RequestT[Empty, T, S]
  6. type Request[T, +S] = RequestT[Identity, T, S]
  7. type RetryWhen = (Request[_, _], Either[Throwable, Response[_]]) => Boolean
  8. implicit class UriContext extends AnyRef
    Definition Classes
    UriInterpolator

Value Members

  1. val DefaultReadTimeout: Duration
    Definition Classes
    SttpApi
  2. def asByteArray: ResponseAs[Either[String, Array[Byte]], Nothing]
    Definition Classes
    SttpApi
  3. def asByteArrayAlways: ResponseAs[Array[Byte], Nothing]
    Definition Classes
    SttpApi
  4. def asEither[L, R, S](onError: ResponseAs[L, S], onSuccess: ResponseAs[R, S]): ResponseAs[Either[L, R], S]
    Definition Classes
    SttpApi
  5. def asFile(file: File): ResponseAs[Either[String, File], Nothing]
    Definition Classes
    SttpExtensions
  6. def asFileAlways(file: File): ResponseAs[File, Nothing]
    Definition Classes
    SttpExtensions
  7. def asParams(charset: String): ResponseAs[Either[String, Seq[(String, String)]], Nothing]
    Definition Classes
    SttpApi
  8. def asParams: ResponseAs[Either[String, Seq[(String, String)]], Nothing]
    Definition Classes
    SttpApi
  9. def asPath(path: Path): ResponseAs[Either[String, Path], Nothing]
    Definition Classes
    SttpExtensions
  10. def asPathAlways(path: Path): ResponseAs[Path, Nothing]
    Definition Classes
    SttpExtensions
  11. def asStream[S]: ResponseAs[Either[String, S], S]
    Definition Classes
    SttpApi
  12. def asStreamAlways[S]: ResponseAs[S, S]
    Definition Classes
    SttpApi
  13. def asString(charset: String): ResponseAs[Either[String, String], Nothing]
    Definition Classes
    SttpApi
  14. def asString: ResponseAs[Either[String, String], Nothing]
    Definition Classes
    SttpApi
  15. def asStringAlways(charset: String): ResponseAs[String, Nothing]
    Definition Classes
    SttpApi
  16. def asStringAlways: ResponseAs[String, Nothing]
    Definition Classes
    SttpApi
  17. val basicRequest: RequestT[Empty, Either[String, String], Nothing]
    Definition Classes
    SttpApi
  18. val emptyRequest: RequestT[Empty, Either[String, String], Nothing]
    Definition Classes
    SttpApi
  19. def fromMetadata[T, S](f: (ResponseMetadata) => ResponseAs[T, S]): ResponseAs[T, S]
    Definition Classes
    SttpApi
  20. def ignore: ResponseAs[Unit, Nothing]
    Definition Classes
    SttpApi
  21. def multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  22. def multipart(name: String, fs: Seq[(String, String)], encoding: String): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  23. def multipart(name: String, fs: Seq[(String, String)]): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  24. def multipart(name: String, fs: Map[String, String], encoding: String): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  25. def multipart(name: String, fs: Map[String, String]): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  26. def multipart(name: String, data: InputStream): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  27. def multipart(name: String, data: ByteBuffer): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  28. def multipart(name: String, data: Array[Byte]): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  29. def multipart(name: String, data: String, encoding: String): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  30. def multipart(name: String, data: String): Part[BasicRequestBody]
    Definition Classes
    SttpApi
  31. def multipartFile(name: String, data: Path): Part[BasicRequestBody]
    Definition Classes
    SttpExtensions
  32. def multipartFile(name: String, data: File): Part[BasicRequestBody]
    Definition Classes
    SttpExtensions
  33. val quickRequest: RequestT[Empty, String, Nothing]
    Definition Classes
    SttpApi

Inherited from SttpApi

Inherited from UriInterpolator

Inherited from SttpExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped