Oddity
Oddity.Events.ResponseReceiveEventArgs Class Reference

Contains OnResponseReceive event arguments. More...

Inheritance diagram for Oddity.Events.ResponseReceiveEventArgs:

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

Detailed Description

Contains OnResponseReceive event arguments.

Constructor & Destructor Documentation

Oddity.Events.ResponseReceiveEventArgs.ResponseReceiveEventArgs ( string  response,
HttpStatusCode  statusCode,
string  reasonPhrase 
)

Initializes a new instance of the ResponseReceiveEventArgs class.

Parameters
responseThe raw response from the SpaceX API server.
statusCodeThe response status code returned from the API.
reasonPhraseThe reason phrase returned from the API.

Property Documentation

string Oddity.Events.ResponseReceiveEventArgs.ReasonPhrase
get

Gets the reason phrase (useful when error has occurred).

string Oddity.Events.ResponseReceiveEventArgs.Response
get

Gets the raw response from the SpaceX API server.

HttpStatusCode Oddity.Events.ResponseReceiveEventArgs.StatusCode
get

Gets the response status code (200 = OK).


The documentation for this class was generated from the following file: