Packages

p

sttp

client4

package client4

Linear Supertypes
SttpApi, UriInterpolator, SttpExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client4
  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) => BasicBodyPart
  2. type RetryWhen = (GenericRequest[_, _], Either[Throwable, Response[_]]) => Boolean
  3. implicit class UriContext extends AnyRef
    Definition Classes
    UriInterpolator

Value Members

  1. val DefaultReadTimeout: Duration
    Definition Classes
    SttpApi
  2. def asBoth[A, B](l: ResponseAs[A], r: ResponseAs[B]): ResponseAs[(A, B)]
    Definition Classes
    SttpApi
  3. def asBothOption[A, B, S](l: StreamResponseAs[A, S], r: ResponseAs[B]): StreamResponseAs[(A, Option[B]), S]
    Definition Classes
    SttpApi
  4. def asBothOption[A, B](l: ResponseAs[A], r: ResponseAs[B]): ResponseAs[(A, Option[B])]
    Definition Classes
    SttpApi
  5. def asByteArray: ResponseAs[Either[String, Array[Byte]]]
    Definition Classes
    SttpApi
  6. def asByteArrayAlways: ResponseAs[Array[Byte]]
    Definition Classes
    SttpApi
  7. def asEither[A, B, S](onError: ResponseAs[A], onSuccess: StreamResponseAs[B, S]): StreamResponseAs[Either[A, B], S]
    Definition Classes
    SttpApi
  8. def asEither[A, B](onError: ResponseAs[A], onSuccess: ResponseAs[B]): ResponseAs[Either[A, B]]
    Definition Classes
    SttpApi
  9. def asFile(file: File): ResponseAs[Either[String, File]]
    Definition Classes
    SttpExtensions
  10. def asFileAlways(file: File): ResponseAs[File]
    Definition Classes
    SttpExtensions
  11. def asInputStream[T](f: (InputStream) => T): ResponseAs[Either[String, T]]
    Definition Classes
    SttpExtensions
  12. def asInputStreamAlways[T](f: (InputStream) => T): ResponseAs[T]
    Definition Classes
    SttpExtensions
  13. def asInputStreamAlwaysUnsafe: ResponseAs[InputStream]
    Definition Classes
    SttpExtensions
  14. def asInputStreamUnsafe: ResponseAs[Either[String, InputStream]]
    Definition Classes
    SttpExtensions
  15. def asParams(charset: String): ResponseAs[Either[String, Seq[(String, String)]]]
    Definition Classes
    SttpApi
  16. def asParams: ResponseAs[Either[String, Seq[(String, String)]]]
    Definition Classes
    SttpApi
  17. def asParamsAlways(charset: String): ResponseAs[Seq[(String, String)]]
    Definition Classes
    SttpApi
  18. def asParamsAlways: ResponseAs[Seq[(String, String)]]
    Definition Classes
    SttpApi
  19. def asPath(path: Path): ResponseAs[Either[String, Path]]
    Definition Classes
    SttpExtensions
  20. def asPathAlways(path: Path): ResponseAs[Path]
    Definition Classes
    SttpExtensions
  21. def asStream[F[_], T, S](s: Streams[S])(f: (BinaryStream) => F[T]): StreamResponseAs[Either[String, T], S with Effect[F]]
    Definition Classes
    SttpApi
  22. def asStreamAlways[F[_], T, S](s: Streams[S])(f: (BinaryStream) => F[T]): StreamResponseAs[T, S with Effect[F]]
    Definition Classes
    SttpApi
  23. def asStreamAlwaysUnsafe[S](s: Streams[S]): StreamResponseAs[BinaryStream, S]
    Definition Classes
    SttpApi
  24. def asStreamAlwaysWithMetadata[F[_], T, S](s: Streams[S])(f: (BinaryStream, ResponseMetadata) => F[T]): StreamResponseAs[T, S with Effect[F]]
    Definition Classes
    SttpApi
  25. def asStreamUnsafe[S](s: Streams[S]): StreamResponseAs[Either[String, BinaryStream], S]
    Definition Classes
    SttpApi
  26. def asStreamWithMetadata[F[_], T, S](s: Streams[S])(f: (BinaryStream, ResponseMetadata) => F[T]): StreamResponseAs[Either[String, T], S with Effect[F]]
    Definition Classes
    SttpApi
  27. def asString(charset: String): ResponseAs[Either[String, String]]
    Definition Classes
    SttpApi
  28. def asString: ResponseAs[Either[String, String]]
    Definition Classes
    SttpApi
  29. def asStringAlways(charset: String): ResponseAs[String]
    Definition Classes
    SttpApi
  30. def asStringAlways: ResponseAs[String]
    Definition Classes
    SttpApi
  31. val basicRequest: PartialRequest[Either[String, String]]
    Definition Classes
    SttpApi
  32. val emptyRequest: PartialRequest[Either[String, String]]
    Definition Classes
    SttpApi
  33. def fromMetadata[T, S](default: ResponseAs[T], conditions: ConditionalResponseAs[StreamResponseAs[T, S]]*): StreamResponseAs[T, S]
    Definition Classes
    SttpApi
  34. def fromMetadata[T](default: ResponseAs[T], conditions: ConditionalResponseAs[ResponseAs[T]]*): ResponseAs[T]
    Definition Classes
    SttpApi
  35. def ignore: ResponseAs[Unit]
    Definition Classes
    SttpApi
  36. def multipart[B](name: String, b: B)(implicit arg0: BodySerializer[B]): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  37. def multipart(name: String, fs: Seq[(String, String)], encoding: String): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  38. def multipart(name: String, fs: Seq[(String, String)]): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  39. def multipart(name: String, fs: Map[String, String], encoding: String): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  40. def multipart(name: String, fs: Map[String, String]): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  41. def multipart(name: String, data: InputStream): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  42. def multipart(name: String, data: ByteBuffer): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  43. def multipart(name: String, data: Array[Byte]): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  44. def multipart(name: String, data: String, encoding: String): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  45. def multipart(name: String, data: String): Part[BasicBodyPart]
    Definition Classes
    SttpApi
  46. def multipartFile(name: String, data: Path): Part[BasicBodyPart]
    Definition Classes
    SttpExtensions
  47. def multipartFile(name: String, data: File): Part[BasicBodyPart]
    Definition Classes
    SttpExtensions
  48. def multipartStream[S](s: Streams[S])(name: String, b: BinaryStream): Part[StreamBody[BinaryStream, S]]
    Definition Classes
    SttpApi
  49. val quickRequest: PartialRequest[String]
    Definition Classes
    SttpApi

Inherited from SttpApi

Inherited from UriInterpolator

Inherited from SttpExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped