ricardopereira / SocketIO-Kit

Socket.io iOS and OSX Client compatible with v1.0 and later
https://ricardopereira.github.io/SocketIO-Kit
MIT License
138 stars 12 forks source link

Is it possible to connect with query parameters? #21

Closed losedges closed 9 years ago

losedges commented 9 years ago

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?

ricardopereira commented 9 years ago

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.

losedges commented 9 years ago

Thanks for the quick response!

ricardopereira commented 9 years ago

:+1: