puzpuzpuz / cls-rtracer

Request Tracer - CLS-based request id generation for Express, Fastify, Koa and Hapi, batteries included
MIT License
311 stars 24 forks source link

How to use with WebSocket? #67

Open shailesh-kanzariya opened 1 year ago

shailesh-kanzariya commented 1 year ago

It would be really helpful to know that how to use this package with WebSocket communications. An example would be very useful too.

puzpuzpuz commented 1 year ago

Please check the existing samples. They contain examples for popular web frameworks, so HTTP, but usage with any WS framework won't be any different.