c# - Xamarin SocketIO PCL Token -


i trying make socket connection , pass token in headers of connection. keep getting a

"error initializing handshake https://webpage:8080/"

the code have is:

namevaluecollection headers = new namevaluecollection(); headers.add("token", "xxxtoken"); client = new client("https://supersecurepage:8080", headers); client.connect(); 

what wrong? thank you!

the version of nugget is: 1.0.2 , socketio server is: 1.3.7

thank you,

michael matias


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -