public class WebSocketOptions
extends java.lang.Object
Constructor and Description |
---|
WebSocketOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxFramePayloadSize()
Get maximum frame payload size that will be accepted
when receiving.
|
void |
setMaxFramePayloadSize(int size)
Set maximum frame payload size that will be accepted
when receiving.
|
public void setMaxFramePayloadSize(int size)
DEFAULT: 4MB
size
- Maximum size in octets for frame payload.public int getMaxFramePayloadSize()