L
L
LemanRass092016-01-01 21:26:05
Node.js
LemanRass09, 2016-01-01 21:26:05

How to set second parameter of connect function in SocketIOClientDotNET C#?

Hello.
On normal js, what I need looks like this:

var socket = io.connect("https://ws.myurl.com/",
{
    query: 'token=' + token
});

I downloaded a package for a C# project called SocketIOClientDotNET from the NuGET repository and don't know how to correctly pass the second parameter from the javascript version of the connect function.
I've tried different options, but so far without success.
I hope for your help.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Khmyrov, 2016-01-01
@vivcogit

socket = IO.Socket(uri, options);
example: line 38
https://github.com/Quobject/SocketIoClientDotNet/b...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question