Oddity
|
Contains OnResponseReceive event arguments. More...
Public Member Functions | |
ResponseReceiveEventArgs (string response, HttpStatusCode statusCode, string reasonPhrase) | |
Initializes a new instance of the ResponseReceiveEventArgs class. More... | |
Properties | |
string | Response [get] |
Gets the raw response from the SpaceX API server. More... | |
HttpStatusCode | StatusCode [get] |
Gets the response status code (200 = OK). More... | |
string | ReasonPhrase [get] |
Gets the reason phrase (useful when error has occurred). More... | |
Contains OnResponseReceive event arguments.
Oddity.Events.ResponseReceiveEventArgs.ResponseReceiveEventArgs | ( | string | response, |
HttpStatusCode | statusCode, | ||
string | reasonPhrase | ||
) |
Initializes a new instance of the ResponseReceiveEventArgs class.
response | The raw response from the SpaceX API server. |
statusCode | The response status code returned from the API. |
reasonPhrase | The reason phrase returned from the API. |
|
get |
Gets the reason phrase (useful when error has occurred).
|
get |
Gets the raw response from the SpaceX API server.
|
get |
Gets the response status code (200 = OK).