Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Namespace.prototype._add
import { Namespace } from "https://deno.land/x/socket_io@0.2.0/packages/socket.io/lib/namespace.ts";

Adds a new client

Parameters

client: Client<ListenEvents, EmitEvents, ServerSideEvents, SocketData>
  • the client
handshake: Handshake
  • the handshake
callback: (socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>) => void