We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @WrathChaos ,
we found out where the problem came from, when connecting there is an http call where we pass in the header
HEADER={{"host":["dev.myserver.fr"], "sec-websocket-protocol":["], "sec-websocket-key":["M6rALuZT9o3NRROXksQ==="], "sec-websocket-version":["13"], "upgrade":["websocket"], "origin":["http://dev.myserver.fr], "connection":["Upgrade"]}
but I don't find in this header the parameters I added during the connection:
let headerWS = ["deviceId":deviceToken] socketClient.openSocketWithURLRequest(request: NSURLRequest(url: url as URL), delegate: self, connectionHeaders: headerWS)
it can come from the SocketRocket library, the initial call to the connection is made without taking into account the header.
I'm not good enough in objective-c to modify the lib myself.
Do you have an idea to pass my header ["deviceId":deviceToken], during the initial call
["deviceId":deviceToken]
Originally posted by @tomasimartin in #80 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @WrathChaos ,
we found out where the problem came from, when connecting there is an http call where we pass in the header
but I don't find in this header the parameters I added during the connection:
it can come from the SocketRocket library, the initial call to the connection is made without taking into account the header.
I'm not good enough in objective-c to modify the lib myself.
Do you have an idea to pass my header
["deviceId":deviceToken]
, during the initial callOriginally posted by @tomasimartin in #80 (comment)
The text was updated successfully, but these errors were encountered: