Class WebSocketPongMessage
java.lang.Object
io.micronaut.websocket.WebSocketPongMessage
Special message class that can be accepted by a
@OnMessage
method to listen to WebSocket pongs.- Since:
- 3.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebSocketPongMessage
public WebSocketPongMessage(io.micronaut.core.io.buffer.ByteBuffer<?> content) - Parameters:
content- The content of the pong message.
-
-
Method Details
-
getContent
public io.micronaut.core.io.buffer.ByteBuffer<?> getContent()- Returns:
- The content of the pong message. This buffer may be released after the message handler has completed.
-