arangodb-net-standard icon indicating copy to clipboard operation
arangodb-net-standard copied to clipboard

Provide access to HttpApiTransport._client

Open tjoubert opened this issue 2 years ago • 0 comments

Expose a readonly getter for HttpClient on HttpApiTransport (e.g. InnerClient) to allow callers to use the static creation methods for convenience, and then set a few options on the client themselves. Example:

var transport = HttpApiTransport.UsingBasicAuth(/*...*/);
transport.InnerClient.Timeout = TimeSpan.FromMinutes(2);

tjoubert avatar Dec 21 '22 20:12 tjoubert