Packages

p

sttp

client3

package client3

Linear Supertypes
SttpApi, UriInterpolator, SttpExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client3
  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 PartialRequest[T, -R] = RequestT[Empty, T, R]
  5. type Request[T, -R] = RequestT[Identity, T, R]
  6. type RetryWhen = (Request[_, _], Either[Throwable, Response[_]]) => Boolean
  7. implicit class UriContext extends AnyRef
    Definition Classes
    UriInterpolator

Deprecated Type Members

  1. type DeserializationError[DE] = DeserializationException[DE]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) use DeserializationException

  2. type ResponseError[+HE, +DE] = ResponseException[HE, DE]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) use ResponseException

Value Members

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

Inherited from SttpApi

Inherited from UriInterpolator

Inherited from SttpExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped