lighttp ~master (2020-01-09T16:41:23Z)
Dub
Repo
Chat.Client
app
Chat
Undocumented in source.
class
Chat
@
Get
(`room`, `([a-z0-9]{1,16})@([a-zA-Z0-9_]{1,32})`)
class
Client : WebSocket {
uint
id
;
string
ip
;
string
name
;
void
onConnect
(ServerRequest request, string room, string name);
void
onClose
();
void
onReceive
(ubyte[] data);
}
Members
Functions
onClose
void
onClose
()
Undocumented in source. Be warned that the author may not have intended to support it.
onConnect
void
onConnect
(ServerRequest request, string room, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
onReceive
void
onReceive
(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
id
uint
id
;
Undocumented in source.
ip
string
ip
;
Undocumented in source.
name
string
name
;
Undocumented in source.
Meta
Source
See Implementation
app
Chat
classes
Client
constructors
this
variables
index