MCPcopy Index your code
hub / github.com/socketio/socket.io / serveClient

Method serveClient

lib/index.ts:285–289  ·  view source on GitHub ↗
(v?: boolean)

Source from the content-addressed store, hash-verified

283 public serveClient(): boolean;
284 public serveClient(v?: boolean): this | boolean;
285 public serveClient(v?: boolean): this | boolean {
286 if (!arguments.length) return this._serveClient;
287 this._serveClient = v!;
288 return this;
289 }
290
291 /**
292 * 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