-
-
Notifications
You must be signed in to change notification settings - Fork 665
Closed
Description
Could you make a reference to the created server?
https://github.com/adonisjs/adonis-framework/blob/9a9f3d45147740d6a0ff908efb5f23a0862e9151/src/Server/index.js#L280
I wanted to use this for my game but need to be able to do something like:
var server = http.createServer(app);
/**
* Listen on provided port, on all network interfaces.
*/
server.listen(port);
server.on('error', onError);
server.on('listening', onListening);
/**
* SocketIO Connection
*/
var io = app.io
io.attach(server)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels