Skip to content

Conversation

@pccr10001
Copy link

The NewClient function initializes a new http.Client after applying the ClientOption functions, which renders the WithHTTPClient option ineffective. This PR moves the initialization of the http.Client before applying the options, ensuring that WithHTTPClient and other custom configurations work as intended.

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.

1 participant