You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+80Lines changed: 80 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,55 @@ $middlewares = [
80
80
81
81
**Remember**: [There are a shitload of HTTPlug middleware available already.](http://docs.php-http.org/en/latest/plugins/) Try on of them before writing your own one!
82
82
83
+
84
+
#### Enhance your setup by using a Client Builder
85
+
86
+
Configuring an HTTP client can be cumbersome if you have a lot of plugins.
87
+
In order to make this easier, we've provided a Client Builder that helps you set-up your client step by step:
88
+
89
+
```php
90
+
use Http\Message\Authentication\BasicAuth;
91
+
use Phpro\HttpTools\Client\ClientBuilder;
92
+
use Phpro\HttpTools\Client\Factory\AutoDiscoveredClientFactory;
0 commit comments