Server#attach(srv:http#Server, opts:Object):Server Attaches the Server to an engine.io instance on srv with the supplied
Socket#rooms:Array A list of strings identifying the rooms this socket is in.
Server#origins(v:String):Server Sets the allowed origins v. Defaults to any origins being allowed. If
Socket#emit(name:String[, …]):Socket Emits an event to the socket identified by the string name. Any other parameters can be included
Server#sockets:Namespace The default (/) namespace.
Server#serveClient(v:Boolean):Server If v is true the attached server (see Server#attach) will serve
Server#adapter(v:Adapter):Server Sets the adapter v. Defaults to an instance of the Adapter that ships with socket
Server#bind(srv:engine#Server):Server Advanced use only. Binds the server to a specific engine.io Server (or compatible API) instance
Socket A Socket is the fundamental class for interacting with browser clients. A Socket belongs to a certain Namespace
Socket#id:String A unique identifier for the socket session, that comes from the underlying Client.
Page 2 of 4