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

Method write

packages/socket.io/lib/socket.ts:425–428  ·  view source on GitHub ↗

* Sends a `message` event. Alias of {@link send}. * * @return self

(...args: EventParams<EmitEvents, "message">)

Source from the content-addressed store, hash-verified

423 * @return self
424 */
425 public write(...args: EventParams<EmitEvents, "message">): this {
426 this.emit("message", ...args);
427 return this;
428 }
429
430 /**
431 * Writes a packet.

Callers

nothing calls this directly

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected