hunt-http ~master (2022-03-03T02:59:30Z)
Home
Dub
Repo
PingFrame
hunt
http
codec
websocket
frame
PingFrame
Undocumented in source.
class
PingFrame :
ControlFrame
{
this
();
PingFrame
setPayload
(byte[] bytes);
PingFrame
setPayload
(string payload);
alias
setPayload
=
ControlFrame
.
setPayload
;
WebSocketFrameType
getType
();
}
Constructors
this
this
()
Undocumented in source.
Members
Aliases
setPayload
alias
setPayload
=
ControlFrame
.
setPayload
Undocumented in source.
Functions
getType
WebSocketFrameType
getType
()
Undocumented in source. Be warned that the author may not have intended to support it.
setPayload
PingFrame
setPayload
(byte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
setPayload
PingFrame
setPayload
(string payload)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From ControlFrame
MAX_CONTROL_PAYLOAD
enum
int
MAX_CONTROL_PAYLOAD
;
Maximum size of Control frame, per RFC 6455
assertValid
void
assertValid
()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool
opEquals
(Object obj)
Undocumented in source. Be warned that the author may not have intended to support it.
isControlFrame
bool
isControlFrame
()
Undocumented in source. Be warned that the author may not have intended to support it.
isDataFrame
bool
isDataFrame
()
Undocumented in source. Be warned that the author may not have intended to support it.
setPayload
AbstractWebSocketFrame
setPayload
(ByteBuffer buf)
Undocumented in source. Be warned that the author may not have intended to support it.
getPayload
ByteBuffer
getPayload
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
hunt
http
codec
websocket
frame
PingFrame
classes
PingFrame