Module web_socket_peer

Consts

WRITE_MODE_TEXT = 0'i64
WRITE_MODE_BINARY = 1'i64

Procs

proc getWriteMode(self: WebSocketPeer): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setWriteMode(self: WebSocketPeer; mode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isConnectedToHost(self: WebSocketPeer): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc wasStringPacket(self: WebSocketPeer): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc close(self: WebSocketPeer) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectedHost(self: WebSocketPeer): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectedPort(self: WebSocketPeer): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}