Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Http.​MessageProcessingHandler
Assembly: System.Net.Http
Inheritance: object → HttpMessageHandler → DelegatingHandler → MessageProcessingHandler
Implemented Interfaces
- IDisposable Implemented by: HttpMessageHandler
A base type for handlers which only do some small processing of request and/or response messages.
Properties
public
HttpMessageHandler
InnerHandler
Gets or sets the inner handler which processes the HTTP response messages.
Methods
protected
HttpRequestMessage
ProcessRequest​(HttpRequestMessage request,
Threading.​CancellationToken cancellationToken)
Performs processing on each request sent to the server.
Returns The HTTP request message that was processed.
request
The HTTP request message to process.
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
protected
HttpResponseMessage
ProcessResponse​(HttpResponseMessage response,
Threading.​CancellationToken cancellationToken)
Perform processing on each response from the server.
Returns The HTTP response message that was processed.
response
The HTTP response message to process.
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
protected
void
Dispose​(bool disposing)
Inherited from DelegatingHandler
Releases the unmanaged resources used by the <see cref="T:System.Net.Http.DelegatingHandler" /> , and optionally disposes of the managed resources.
disposing
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to releases only unmanaged resources.
public
void
Dispose​()
Inherited from HttpMessageHandler
Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpMessageHandler" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object