Degree |
Class | Description | |
---|---|---|
EncodedString | An encoded string and a label describing its encoding. | |
HttpRequestData | A set of parameter names and values to be sent in an HTTP request. | |
HttpResponseStream | A simple wrapper around the Stream that comes as a response from the API servers. | |
RequestSecurityInfo | Security info that needs to be generated and sent with each request to the API. | |
Signature | A signature of the request together with a label describing the method that was used to create it. | |
XmlHttpRequestProcessor | A concrete implementation of the IRequestProcessor interface that turns Request objects into XML, adds the necessary security details, sends them over HTTP to the Degree Days.net API servers, and parses the XML responses into Response object models. |
Interface | Description | |
---|---|---|
IBytesToEncodedString | Encodes a byte array into an encoded string and a label describing its encoding. | |
IDateTimeFormatter | Formats date-times as strings. | |
IEndpointGetter | Gets an endpoint URL for a request. | |
IHttpRequestDispatcher | Sends an HttpRequestData to the API servers and returns a stream containing the response. | |
IRandomFactory | Generates the random strings that are sent with requests as part of the security mechanism that prevents replay attacks. | |
IRequestToXml | Turns the Request into an XML string. | |
IResponseParser | Parses the API response stream. | |
ISigner | Creates a signature of the request, so that its integrity can be checked on the API servers. | |
IStringToBytes | Turns a string (like an XML request) into a byte array. | |
IUtcTimestampFactory | Creates timestamps for inclusion in requests. | |
IXmlRequestWrapper | Creates a complete XML request from a partial XML request (without any security info) and RequestSecurityInfo. |
The starting point for customizations is the XmlHttpRequestProcessorBuilder class.