Share via


CosmosClientBuilder.AddCustomHandlers(RequestHandler[]) Method

Definition

Sets an array of custom handlers to the request. The handlers will be chained in the order listed. The InvokerHandler.InnerHandler is required to be null to allow the pipeline to chain the handlers.

public Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder AddCustomHandlers(params Microsoft.Azure.Cosmos.RequestHandler[] customHandlers);

Parameters

customHandlers
RequestHandler[]

A list of RequestHandler instaces to add to the pipeline.

Returns

The current CosmosClientBuilder.

Applies to

See also