Constructor. Initializes a new Service instance with the default HTTP request settings
and transport- and format-handling classes.
public __construct ( array $config = [] ) : void | ||
$config | array | Available configuration options are: - `'persistent'` _boolean_ - `'scheme'` _string_ - `'host'` _string_ - `'port'` _integer_ - `'timeout'` _integer_ - `'auth'` _boolean_ - `'username'` _string_ - `'password'` _string_ - `'encoding'` _string_ - `'socket'` _string_ |
return | void |