ricardopereira / SocketIO-Kit

Socket.io iOS and OSX Client compatible with v1.0 and later

Home Page:https://ricardopereira.github.io/SocketIO-Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to connect with query parameters?

losedges opened this issue · comments

In my current project socket clients are connected with "query {Authorization: etc}
in web console : Object {transport: "polling", Authorization: "Bearer .....
I tried to add a method "query" the same way like to "namespace" added
"withOptions: SocketIOOptions().namespace ", but this option does not work for me

where I am wrong?

Unfortunately SocketIO-Kit doesn't support query or custom headers but in a future release. It's not planned but it's a good feature.

Thanks for the quick response!