Skip to content

Provide access to HttpApiTransport._client #455

Open
@tjoubert

Description

@tjoubert

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);

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions