Class EventSourceServiceUnsuccessfulResponseException
Indicates that the EventSource was able to establish an HTTP connection, but received a non-successful status code.
Inheritance
EventSourceServiceUnsuccessfulResponseException
Implements
Inherited Members
Namespace: LaunchDarkly.EventSource
Assembly: LaunchDarkly.EventSource.dll
Syntax
public class EventSourceServiceUnsuccessfulResponseException : EventSourceServiceCancelledException, ISerializable
Constructors
EventSourceServiceUnsuccessfulResponseException(int)
Creates a new instance.
Declaration
public EventSourceServiceUnsuccessfulResponseException(int statusCode)
Parameters
Type | Name | Description |
---|---|---|
int | statusCode | the HTTP status code of the response |
Properties
StatusCode
The HTTP status code of the response.
Declaration
public int StatusCode { get; }
Property Value
Type | Description |
---|---|
int |