A concrete implementation of the IRequestProcessor
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
Inheritance Hierarchy SystemObject DegreeDays.Api.ProcessingXmlHttpRequestProcessor
DegreeDays (in DegreeDays.dll) Version: 1.3
public sealed class XmlHttpRequestProcessor : IRequestProcessor
Public NotInheritable Class XmlHttpRequestProcessor
The XmlHttpRequestProcessor type exposes the following members.
To create an instance of this class, you'll need to use the XmlHttpRequestProcessorBuilder
class. Using a Builder you can heavily customize the way in
which the created XmlHttpRequestProcessor works. For example, a
default XmlHttpRequestProcessor uses System.Net
classes to manage connections to the API servers, but you might want to swap
in alternative functionality if you want more control, or if your application needs
to run in an environment that doesn't support HttpWebRequest et al.
For more on the customization options, see the docs for the XmlHttpRequestProcessorBuilder.
This class is designed to be safe for use in a multi-threaded environment.
However, if you create a customized instance of this class, then the
thread-safety of its operation will depend on the thread-safety of any custom
processing components that you introduce.