Table of Contents

Class HttpPipelineInterceptPolicy

Namespace
FoundationaLLM.Common.Clients.Http
Assembly
FoundationaLLM.Common.dll

Represents a policy that intercepts HTTP pipeline requests and responses for custom processing.

public class HttpPipelineInterceptPolicy : HttpPipelineSynchronousPolicy
Inheritance
HttpPipelineInterceptPolicy
Inherited Members
Extension Methods

Remarks

This policy can be used to modify or inspect HTTP requests and responses as they pass through the pipeline. It is typically used for logging, monitoring, or altering request and response data.

Methods

OnReceivedResponse(HttpMessage)

Method is invoked after the response is received.

public override void OnReceivedResponse(HttpMessage message)

Parameters

message HttpMessage

The HttpMessage containing the response.

OnSendingRequest(HttpMessage)

Method is invoked before the request is sent.

public override void OnSendingRequest(HttpMessage message)

Parameters

message HttpMessage

The HttpMessage containing the request.