Team XSockets.NET


If a querystring is passed in with the connection (or the handshake) the server will parse the querystring so that you can access the values on the server-side.

You have already seen this in the examples when we used Putty to connect and passed in a PersistentId with the handshake.


Get a querystring value

We just check if there is a parameter with the key foo. if so we extract the parameter with the GetParameter method.

if (this.HasParameterKey("foo"))
    var fooValue = this.GetParameter("foo");

results matching ""

    No results matching ""