-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
I'm developing a client for an app that accepts a Resume-Id header when reconnecting for resuming a session. For now it looks like it's impossible to alter the list of headers which is a requirement for that kind of stuff
Describe the solution you'd like
Allow headers to be added, maybe only when socket is not connected.
Describe alternatives you've considered
It can be a .addHeader function, or a hook "onBeforeConnect" to add headers there