## Uses of Class
org.springframework.web.reactive.socket.WebSocketMessage

Packages that use WebSocketMessage
org.springframework.web.reactive.socket: Abstractions and support classes for reactive WebSocket interactions.
org.springframework.web.reactive.socket.adapter: Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.

### Uses of WebSocketMessage in org.springframework.web.reactive.socket

Methods in org.springframework.web.reactive.socket that return WebSocketMessage
`WebSocketMessage` WebSocketSession.`binaryMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)` Factory method to create a binary WebSocketMessage using the `WebSocketSession.bufferFactory()` for the session.
`WebSocketMessage` WebSocketSession.`pingMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)` Factory method to create a ping WebSocketMessage using the `WebSocketSession.bufferFactory()` for the session.
`WebSocketMessage` WebSocketSession.`pongMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)` Factory method to create a pong WebSocketMessage using the `WebSocketSession.bufferFactory()` for the session.
`WebSocketMessage` WebSocketMessage.`retain()` Retain the data buffer for the message payload, which is useful on runtimes (e.g.
`WebSocketMessage` WebSocketSession.`textMessage(String payload)` Factory method to create a text `WebSocketMessage` using the `WebSocketSession.bufferFactory()` for the session.

Methods in org.springframework.web.reactive.socket that return types with arguments of type WebSocketMessage
`reactor.core.publisher.Flux<WebSocketMessage>` WebSocketSession.`receive()` Provides access to the stream of inbound messages.

Method parameters in org.springframework.web.reactive.socket with type arguments of type WebSocketMessage
`reactor.core.publisher.Mono<Void>` WebSocketSession.`send(org.reactivestreams.Publisher<WebSocketMessage> messages)` Give a source of outgoing messages, write the messages and return a `Mono<Void>` that completes when the source completes and writing is done.

### Uses of WebSocketMessage in org.springframework.web.reactive.socket.adapter

Methods in org.springframework.web.reactive.socket.adapter that return WebSocketMessage
`WebSocketMessage` AbstractWebSocketSession.`binaryMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)`
`WebSocketMessage` AbstractWebSocketSession.`pingMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)`
`WebSocketMessage` AbstractWebSocketSession.`pongMessage(Function<org.springframework.core.io.buffer.DataBufferFactory,org.springframework.core.io.buffer.DataBuffer> payloadFactory)`
`WebSocketMessage` AbstractWebSocketSession.`textMessage(String payload)`
`protected WebSocketMessage` NettyWebSocketSessionSupport.`toMessage(io.netty.handler.codec.http.websocketx.WebSocketFrame frame)`

Methods in org.springframework.web.reactive.socket.adapter that return types with arguments of type WebSocketMessage
`abstract reactor.core.publisher.Flux<WebSocketMessage>` AbstractWebSocketSession.`receive()`
`reactor.core.publisher.Flux<WebSocketMessage>` AbstractListenerWebSocketSession.`receive()`
`reactor.core.publisher.Flux<WebSocketMessage>` ReactorNettyWebSocketSession.`receive()`

Methods in org.springframework.web.reactive.socket.adapter with parameters of type WebSocketMessage
`protected void` AbstractListenerWebSocketSession.WebSocketSendProcessor.`discardData(WebSocketMessage message)`
`protected boolean` AbstractListenerWebSocketSession.WebSocketSendProcessor.`isDataEmpty(WebSocketMessage message)`
`protected boolean` UndertowWebSocketSession.`sendMessage(WebSocketMessage message)`
`protected abstract boolean` AbstractListenerWebSocketSession.`sendMessage(WebSocketMessage message)` Send the given WebSocket message.
`protected boolean` StandardWebSocketSession.`sendMessage(WebSocketMessage message)`
`protected boolean` JettyWebSocketSession.`sendMessage(WebSocketMessage message)`
`protected io.netty.handler.codec.http.websocketx.WebSocketFrame` NettyWebSocketSessionSupport.`toFrame(WebSocketMessage message)`
`protected boolean` AbstractListenerWebSocketSession.WebSocketSendProcessor.`write(WebSocketMessage message)`

Method parameters in org.springframework.web.reactive.socket.adapter with type arguments of type WebSocketMessage
`abstract reactor.core.publisher.Mono<Void>` AbstractWebSocketSession.`send(org.reactivestreams.Publisher<WebSocketMessage> messages)`
`reactor.core.publisher.Mono<Void>` AbstractListenerWebSocketSession.`send(org.reactivestreams.Publisher<WebSocketMessage> messages)`
`reactor.core.publisher.Mono<Void>` ReactorNettyWebSocketSession.`send(org.reactivestreams.Publisher<WebSocketMessage> messages)`