public final class WebSocketPongMessage extends Object
@OnMessage
method to listen to WebSocket pongs.Constructor and Description |
---|
WebSocketPongMessage(ByteBuffer<?> content) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer<?> |
getContent() |
public WebSocketPongMessage(@NonNull ByteBuffer<?> content)
content
- The content of the pong message.@NonNull public ByteBuffer<?> getContent()