mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Updated docs
This commit is contained in:
@@ -42,9 +42,12 @@ $client->setAdapter($adapter);
|
||||
|
||||
Actually Guzzle is used as HTTP client library
|
||||
|
||||
```
|
||||
```php
|
||||
<?php
|
||||
$guzzle = new \GuzzleHttp\Client();
|
||||
|
||||
$options = new Options();
|
||||
$adapter = new GuzzleAdapter($options);
|
||||
$adapter = new GuzzleAdapter($guzzle, $options);
|
||||
|
||||
$client = new Client();
|
||||
$client->setAdapter($adapter);
|
||||
|
||||
Reference in New Issue
Block a user