MCPcopy
hub / github.com/socketio/socket.io / serveClient

Method serveClient

packages/socket.io/lib/index.ts:355–359  ·  view source on GitHub ↗
(v?: boolean)

Source from the content-addressed store, hash-verified

353 public serveClient(): boolean;
354 public serveClient(v?: boolean): this | boolean;
355 public serveClient(v?: boolean): this | boolean {
356 if (!arguments.length) return this._serveClient;
357 this._serveClient = v!;
358 return this;
359 }
360
361 /**
362 * Executes the middleware for an incoming namespace not already created on the server.

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected