async
sttp.client4.ws.`package`.async
object async extends SttpWebSocketAsyncApi
Attributes
- Graph
-
- Supertypes
- Self type
-
async.type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
def asWebSocketAlwaysWithMetadata[F[_], T](f: (WebSocket[F], ResponseMetadata) => F[T]): WebSocketResponseAs[F, T]
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
def asWebSocketEither[F[_], A, B](onError: ResponseAs[A], onSuccess: WebSocketResponseAs[F, B]): WebSocketResponseAs[F, Either[A, B]]
Uses the onSuccess
response specification for 101 responses (switching protocols) on JVM/Native, 200 responses on JS. Otherwise, use the onError
specification.
Uses the onSuccess
response specification for 101 responses (switching protocols) on JVM/Native, 200 responses on JS. Otherwise, use the onError
specification.
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
def asWebSocketWithMetadata[F[_], T](f: (WebSocket[F], ResponseMetadata) => F[T]): WebSocketResponseAs[F, Either[String, T]]
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
def fromMetadata[F[_], T](default: ResponseAs[T], conditions: ConditionalResponseAs[WebSocketResponseAs[F, T]]*): WebSocketResponseAs[F, T]
Attributes
- Inherited from:
- SttpWebSocketAsyncApi
In this article