A base type for handlers which only do some small processing of request and/or response messages.
Assembly: System.Net.Http (in System.Net.Http.dll)
Thetype exposes the following members.
|Dispose()||Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler.)|
|Dispose(Boolean)||Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources. (Inherited from DelegatingHandler.)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ProcessRequest||Performs processing on each request sent to the server.|
|ProcessResponse||Perform processing on each response from the server.|
|SendAsync||Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. (Overrides DelegatingHandler.SendAsync(HttpRequestMessage, CancellationToken).)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The actual creation of response messages is delegated to an inner handler. The is useful if the handler doesn't require asynchronous operations, because operations on request and response messages are fast.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)