Skip to content

Commit 09ba7e8

Browse files
authored
Revert "HTTPClientTransport WithClient (#113)"
This reverts commit 438ef94.
1 parent 438ef94 commit 09ba7e8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

transport/http/http_client.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ func (t *HTTPClientTransport) WithHeader(key, value string) *HTTPClientTransport
4545
return t
4646
}
4747

48-
// WithClient sets the HTTP client to use for requests
49-
func (t *HTTPClientTransport) WithClient(client *http.Client) *HTTPClientTransport {
50-
t.client = client
51-
return t
52-
}
53-
5448
// Start implements Transport.Start
5549
func (t *HTTPClientTransport) Start(ctx context.Context) error {
5650
// Does nothing in the stateless http client transport

0 commit comments

Comments
 (0)