Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface ServerOptions
import { type ServerOptions } from "https://deno.land/x/socket_io@0.1.1/packages/socket.io/mod.ts";

Properties

path: string

Name of the request path to handle

connectTimeout: number

Duration in milliseconds before a client without namespace is closed

parser: { createEncoder(): Encoder; createDecoder(): Decoder; }

The parser to use to encode and decode packets