tinyhttp / tinyws

🚡 tiny WebSocket middleware for Node.js
https://npm.im/tinyws
MIT License
408 stars 15 forks source link

Add express example #7

Closed xWTF closed 2 years ago

xWTF commented 3 years ago

Changes

This PR simply adds a working express example to README.md.

The example use express.d.ts to define Request.ws(), and provides a working websocket+http server snippet.

xWTF commented 2 years ago

Any additional changes required? I've made the change as per your request, however there's no response for more than 1 month.

xWTF commented 2 years ago

I believe it's 1000x faster for you to push directly into my repo instead of asking for such tiny changes. I have Allow edits by maintainers turned on. Anyway, new changes pushed.

mattfeury commented 1 year ago

not sure if this is dead in the water, but coming from express-ws, this would be really helpful to have documented.

talentlessguy commented 1 year ago

@mattfeury pardon this disappeared in my notifications, could you please recreate the example with a new PR?