Results 1 to 4 of 4

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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.

  2. #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

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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

  1. Replies: 1
    Last Post: February 8th, 2017, 09:56 AM
  2. How to get SessionId in .NET client code?
    By cwt237 in forum Client SDKs
    Replies: 6
    Last Post: September 19th, 2013, 01:05 PM
  3. Long wait on CONNECTED:STREAM-SENSING in firefox
    By kpturner in forum Client SDKs
    Replies: 12
    Last Post: December 20th, 2012, 10:26 AM
  4. How to disconnect a connected session from MetaAdapter?
    By LS_Developer in forum Adapter SDKs
    Replies: 2
    Last Post: April 19th, 2011, 11:03 AM
  5. Replies: 29
    Last Post: July 14th, 2009, 09:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:12 AM.