Koa-socket-2 uses socket.io v3. It is recommended that you connect to a koa-socket-2 server with a socket.io v3 client. Koa-socket-2 is only compatible with the Koa v2 style of middleware (where context is passed as a parameter). This project helps you start a SocketIO server using Koa and NodeJS. However, Google's Go language -- or GoLang -- allows you to write code that compiles down to binary. It can be a very good way to take your SocketIO server to the next level by running faster and requiring less overhead than runtime environments like NodeJS.
Features
- Koa-socket-2 requires Node v7.0.0 or higher
- Koa-socket-2 is only compatible with Koa v2 style of middleware (where context is passed as a parameter)
- Documentation available
- Examples available
- HTTP Example
- Attach socket.io to existing koa projects
- Attach koa-style middleware to socket.io events
- Supports koa v2 style of passing context along the response chain
Categories
FrameworksLicense
MIT LicenseFollow Koa-socket-2
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Koa-socket-2!