-
June 30th, 2020, 08:36 AM
#1
Hello John,
The client libraries try the best way to connect to Lightstreamer Server, hence, any of CONNECTED:WS-STREAMING, CONNECTED:HTTP-STREAMING and CONNECTED:HTTP-POLLING can be expected and this can vary depending on the client environment.
Among these, CONNECTED:WS-STREAMING (i.e. streaming over Websocket) is the best case.
The iOS library also connects via Websocket, whenever possibile, unless it is very old; what version are you using?
The mentioned exception is unrelated with the above.
It can be issued by any setter of the Subscription class.
In fact, this class is not a simple bean but has a lifecycle. You can compose the subscription characteristics via setters, but after you submit the subscription (and it becomes "active") you can no longer invoke the setters until you unsubscribe. At this point you can modify the subscription with the setters and resubmit it.
In some way, you must have acted differently.
-
August 25th, 2020, 02:48 PM
#2
Hello,
In .Net how can we specify the connection? I am trying to set it to HTTP-POLLING but I cannot find the setting anywhere.
Thanks,
Rony
-
August 25th, 2020, 03:01 PM
#3
Hello,
Assuming the latest version, to enforce a long-polling connection you can set the ForcedTransport property of the connectionOptions object.
Otherwise, please specify the SDK library version in use.
Similar Threads
-
By jnuckolls in forum Client SDKs
Replies: 1
Last Post: February 8th, 2017, 09:56 AM
-
By cwt237 in forum Client SDKs
Replies: 6
Last Post: September 19th, 2013, 01:05 PM
-
By kpturner in forum Client SDKs
Replies: 12
Last Post: December 20th, 2012, 10:26 AM
-
By LS_Developer in forum Adapter SDKs
Replies: 2
Last Post: April 19th, 2011, 11:03 AM
-
By CHTSENG in forum General
Replies: 29
Last Post: July 14th, 2009, 09:57 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 05:12 AM.
Bookmarks