abstract
class
BodyFromResponseAs[F[_], RegularResponse, WSResponse, Stream] extends AnyRef
Instance Constructors
-
new
BodyFromResponseAs()(implicit m: MonadError[F])
Abstract Value Members
-
abstract
def
cleanupWhenGotWebSocket(response: WSResponse, e: GotAWebSocketException): F[Unit]
-
abstract
def
cleanupWhenNotAWebSocket(response: RegularResponse, e: NotAWebSocketException): F[Unit]
-
abstract
def
handleWS[T](responseAs: WebSocketResponseAs[T, _], meta: ResponseMetadata, ws: WSResponse): F[T]
-
abstract
def
regularAsByteArray(response: RegularResponse): F[Array[Byte]]
-
abstract
def
regularAsFile(response: RegularResponse, file: SttpFile): F[SttpFile]
-
abstract
def
regularAsStream(response: RegularResponse): F[(Stream, () ⇒ F[Unit])]
-
abstract
def
regularIgnore(response: RegularResponse): F[Unit]
-
abstract
def
withReplayableBody(response: RegularResponse, replayableBody: Either[Array[Byte], SttpFile]): F[RegularResponse]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
apply[T](responseAs: ResponseAs[T, _], meta: ResponseMetadata, response: Either[RegularResponse, WSResponse]): F[T]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any