How to use the onconnection function from http
Find comprehensive JavaScript http.onconnection code examples handpicked from public code repositorys.
GitHub: skbeyagu/socket.io
188 189 190 191 192 193 194 195 196
- `engine` _(engine.Server)_ - **Returns** `Server` Advanced use only. Binds the server to a specific engine.io `Server` (or compatible API) instance. #### server.onconnection(socket) - `socket` _(engine.Socket)_ - **Returns** `Server`
0
0
2
http.createServer is the most popular function in http (322 examples)