Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow setup http-client configuration #17

Merged
merged 2 commits into from
May 14, 2019
Merged

allow setup http-client configuration #17

merged 2 commits into from
May 14, 2019

Conversation

espritf
Copy link

@espritf espritf commented May 13, 2019

No description provided.

src/Bot.php Outdated
{
$this->httpClient = new \GuzzleHttp\Client();
$this->httpClient = new \GuzzleHttp\Client($clientConfig);
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to pass a whole client as a parameter, not only options. wdyt?

Copy link
Author

Choose a reason for hiding this comment

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

sure, it will be much better

@makasim makasim merged commit 827a9cf into formapro:master May 14, 2019
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