import { type ServerOptions } from "https://deno.land/x/socket_io@0.2.0/packages/engine.io/mod.ts";
Properties
Maximum size in bytes or number of characters a message can be, before closing the session (to avoid DoS).
optional
allowRequest: (req: Request, connInfo: ConnInfo) => Promise<void>A function that receives a given handshake or upgrade request as its first parameter, and can decide whether to continue or not.