Skip to content

Conversation

@leeyifei
Copy link
Contributor

support customized http client
use DialContext instead of Dial(which is deprecated)

use DialContext instead of Dial(which is deprecated)
Header http.Header
DialTimeout time.Duration
ReadTimeout time.Duration
Client *http.Client
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一般不传递client,传transport的比较多

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants