antoniodipinto / ikisocket

🧬 WebSocket wrapper with event management for Fiber https://github.com/gofiber/fiber. Based on Fiber WebSocket and inspired by Socket.io
MIT License
123 stars 21 forks source link

Allow Access to ws variable #30

Closed VaishakVk closed 1 year ago

VaishakVk commented 1 year ago

Is your feature request related to a problem? Please describe. I am trying to set Read Deadline everytime I receive a ping/pong to keep the connection alive. By default, it is 15 minutes which seems long. I wanted to set the read deadline using ws.SetReadDeadline but looks like ws is not available to accessed from outside.

Describe the solution you'd like Allow ws to be accessed from outside as Ws

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

antoniodipinto commented 1 year ago

Will be implemented soon

antoniodipinto commented 1 year ago

@VaishakVk can be accessed via Conn variable