sync
sttp.client4.ws.`package`.sync
object sync extends SttpWebSocketSyncApi
Attributes
- Graph
-
- Supertypes
- Self type
-
sync.type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- SttpWebSocketSyncApi
Attributes
- Inherited from:
- SttpWebSocketSyncApi
Attributes
- Inherited from:
- SttpWebSocketSyncApi
def asWebSocketAlwaysWithMetadata[T](f: (SyncWebSocket, ResponseMetadata) => T): WebSocketResponseAs[Identity, T]
Attributes
- Inherited from:
- SttpWebSocketSyncApi
def asWebSocketEither[A, B](onError: ResponseAs[A], onSuccess: WebSocketResponseAs[Identity, B]): WebSocketResponseAs[Identity, 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:
- SttpWebSocketSyncApi
Attributes
- Inherited from:
- SttpWebSocketSyncApi
def asWebSocketWithMetadata[T](f: (SyncWebSocket, ResponseMetadata) => T): WebSocketResponseAs[Identity, Either[String, T]]
Attributes
- Inherited from:
- SttpWebSocketSyncApi
def fromMetadata[T](default: ResponseAs[T], conditions: ConditionalResponseAs[WebSocketResponseAs[Identity, T]]*): WebSocketResponseAs[Identity, T]
Attributes
- Inherited from:
- SttpWebSocketSyncApi
In this article