Share via


CosmosClient.ResponseFactory Property

Definition

The response factory used to create CosmosClient response types.

public virtual Microsoft.Azure.Cosmos.CosmosResponseFactory ResponseFactory { get; }
member this.ResponseFactory : Microsoft.Azure.Cosmos.CosmosResponseFactory
Public Overridable ReadOnly Property ResponseFactory As CosmosResponseFactory

Property Value

Remarks

This can be used for generating responses for tests, and allows users to create a custom container that modifies the response. For example the client encryption uses this to decrypt responses before returning to the caller.

Applies to