import { Transmitter } from "https://deno.land/x/snel@v0.7.1/imports/wocket.ts";
The Transmitter
class is used as the middleman between the client and
server, when sending messages, to connect the 'wires' between them.
Methods
private
timeoutPing(clientId: number): voidPings client at a timeout. If client does not respond, client connection will be removed.
handleReservedEvent(packet: Packet): void
Handles connection states, and actions based on those states.