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
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Koa-socket-2!