Module web_socket_server

Procs

proc isListening(self: WebSocketServer): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc listen(self: WebSocketServer; port: int64;
           protocols: PoolStringArray = newPoolStringArray(); gdMpApi: bool = false): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc stop(self: WebSocketServer) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasPeer(self: WebSocketServer; id: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPeerAddress(self: WebSocketServer; id: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPeerPort(self: WebSocketServer; id: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disconnectPeer(self: WebSocketServer; id: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}