Skip to content

support customized http client#4

Open
leeyifei wants to merge 1 commit intosillydong:masterfrom
leeyifei:master
Open

support customized http client#4
leeyifei wants to merge 1 commit intosillydong:masterfrom
leeyifei:master

Conversation

@leeyifei
Copy link
Copy Markdown
Contributor

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

use DialContext instead of Dial(which is deprecated)
Comment thread fastimage.go
Header http.Header
DialTimeout time.Duration
ReadTimeout time.Duration
Client *http.Client
Copy link
Copy Markdown
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