Udostępnij za pośrednictwem


HttpClientPipelineTransport.OnReceivedResponse Method

Definition

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