Class ReadTimeoutException
An exception that indicates that the configured read timeout elapsed without receiving any new data from the server.
Implements
Inherited Members
Namespace: LaunchDarkly.EventSource
Assembly: LaunchDarkly.EventSource.dll
Syntax
public class ReadTimeoutException : Exception, ISerializable
Remarks
Socket connections can fail silently, in which case an EventSource client without a read timeout would hang forever waiting for new data. A read timeout allows you to make a new stream connection in this case. The server can send periodic comment lines (":\n") to keep the client from timing out if the connection is still working.
Constructors
ReadTimeoutException()
Declaration
public ReadTimeoutException()
Properties
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
string |