Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.framing |
This package encapsulates all interfaces and implementations in relation with the WebSocket
frames.
|
Modifier and Type | Method and Description |
---|---|
PingFrame |
WebSocketListener.onPreparePing(WebSocket conn)
Called just before a ping frame is sent, in order to allow users to customize their ping frame
data.
|
PingFrame |
WebSocketAdapter.onPreparePing(WebSocket conn)
Default implementation for onPreparePing, returns a (cached) PingFrame that has no application
data.
|
Constructor and Description |
---|
PongFrame(PingFrame pingFrame)
constructor which sets the opcode of this frame to ping copying over the payload of the ping
|
Copyright © 2022. All rights reserved.