Skip to content

Expose the HttpClient #165

@amihaiemil

Description

@amihaiemil

Docker should have the HttpClient :: httpClient() method to return the underlying Apache http client.

This is in order to provide some extensibility -- the user should be able to make raw HTTP calls to Docker's API in case the library does not yet provide the API method in question. This is especially important in the case of LocalDocker for which the HttpClient is quite hard to configure (it needs to use unix sockets).

Apache's HttpClient object is immutable so there should not be any danger in exposing it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions