Interface WebSocket
- All Superinterfaces:
org.reactivestreams.Publisher<WebSocketFrame>
,StreamMessage<WebSocketFrame>
- All Known Subinterfaces:
WebSocketWriter
A
StreamMessage
that publishes WebSocketFrame
s.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic WebSocket
of
(StreamMessage<WebSocketFrame> delegate) Returns a newWebSocket
whose stream is produced from the specifiedStreamMessage
.static WebSocketWriter
Returns a newWebSocketWriter
that you can writeWebSocketFrame
s to send to the peer.Methods inherited from interface com.linecorp.armeria.common.stream.StreamMessage
abort, abort, collect, collect, collect, decode, decode, defaultSubscriberExecutor, demand, endWith, filter, flatMap, flatMap, isComplete, isEmpty, isOpen, map, mapAsync, mapError, mapParallel, mapParallel, peek, peek, peekError, recoverAndResume, recoverAndResume, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, toDuplicator, toDuplicator, toInputStream, toInputStream, whenComplete, writeTo
-
Method Details
-
streaming
Returns a newWebSocketWriter
that you can writeWebSocketFrame
s to send to the peer. -
of
Returns a newWebSocket
whose stream is produced from the specifiedStreamMessage
.
-