How to use the of function from http

Find comprehensive JavaScript http.of code examples handpicked from public code repositorys.

195
196
197
198
199
200
201
202
203
  - `socket` _(engine.Socket)_
  - **Returns** `Server`

Advanced use only. Creates a new `socket.io` client from the incoming engine.io (or compatible API) `Socket`.

#### server.of(nsp)

  - `nsp` _(String)_
  - **Returns** `Namespace`
fork icon0
star icon0
watch icon2