websocketd ~main (2022-02-15T08:22:55.6971041)
Dub
Repo
WebSocketState
websocketd
server
Undocumented in source.
class
WebSocketState {
Socket
socket
;
bool
handshaken
;
Frame
[]
frames
;
immutable
PeerID
id
;
immutable
Address
address
;
string
path
;
this
();
this
(PeerID id, Socket socket);
void
performHandshake
(ubyte[] message);
}
Constructors
this
this
()
Undocumented in source.
this
this
(PeerID id, Socket socket)
Undocumented in source.
Members
Functions
performHandshake
void
performHandshake
(ubyte[] message)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
address
Address
address
;
Undocumented in source.
frames
Frame
[]
frames
;
Undocumented in source.
handshaken
bool
handshaken
;
Undocumented in source.
id
PeerID
id
;
Undocumented in source.
path
string
path
;
Undocumented in source.
socket
Socket
socket
;
Undocumented in source.
Meta
Source
See Implementation
websocketd
server
aliases
PeerID
classes
WebSocketServer
WebSocketState