SocketServer
Errors
Since v1.0.0 Source
Signature
declare const ErrorTypeId: unique symbolErrorTypeId
type Since v1.0.0 Source
Signature
type ErrorTypeId = typeof ErrorTypeId Since v1.0.0 Source
Signature
declare class SocketServerError extends YieldableError<this> & { readonly _tag: "SocketServerError";} & Readonly<{ readonly cause: unknown; readonly reason: "Unknown" | "Open";}> { constructor(args: { readonly cause: unknown; readonly reason: "Unknown" | "Open"; }); readonly [ErrorTypeId]: typeof ErrorTypeId; message: string;}Models
Signature
type Address = UnixAddress | TcpAddressTcpAddress
interface Since v1.0.0 Source
Signature
interface TcpAddress { readonly _tag: "TcpAddress"; readonly hostname: string; readonly port: number;}UnixAddress
interface Since v1.0.0 Source
Signature
interface UnixAddress { readonly _tag: "UnixAddress"; readonly path: string;}