import { Server } from "https://deno.land/x/faster@v12.1/server.ts";
Properties
acceptOrRejectSocketConn: (ctx: Context) => Promise<any>
onSocketClosed: (id: string, socket: WebSocket) => Promise<any>
onSocketError: (id: string, socket: WebSocket) => Promise<any>
onSocketOpen: (id: string, socket: WebSocket) => Promise<any>
server: Deno.HttpServer
Methods
listen(options: any)
serveHandler(request: Request): Promise<Response>
useAtBeginning(...handlers: RouteFn[]): Server