HttpClientPipelineTransport.OnReceivedResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A method that can be overridden by derived types to extend the default HttpClientPipelineTransport logic. It is called from ProcessCore(PipelineMessage) after the transport has created the PipelineResponse and set it on Response.
protected virtual void OnReceivedResponse (System.ClientModel.Primitives.PipelineMessage message, System.Net.Http.HttpResponseMessage httpResponse);
abstract member OnReceivedResponse : System.ClientModel.Primitives.PipelineMessage * System.Net.Http.HttpResponseMessage -> unit
override this.OnReceivedResponse : System.ClientModel.Primitives.PipelineMessage * System.Net.Http.HttpResponseMessage -> unit
Protected Overridable Sub OnReceivedResponse (message As PipelineMessage, httpResponse As HttpResponseMessage)
Parameters
- message
- PipelineMessage
The PipelineMessage containing the PipelineResponse created by the transport.
- httpResponse
- HttpResponseMessage
The HttpResponseMessage returned by from the call to Send on HttpClient that the transport used to create Response.
Applies to
Azure SDK for .NET