import { Server } from "https://deno.land/x/sockets@v0.5.0/src/server.ts";
Handles websocket connection. After a successful connection, the client will be added to EventEmitter.clients and the server will start listening to events.
Parameters
options: HTTPOptions
- See HTTPOptions.
Returns
Promise<DenoServer>
A Promise of DenoServer.