Skip to content

Add subscribers in Client Constructur

Latest
Compare
Choose a tag to compare
@h-bragg h-bragg released this 02 Jan 11:13
1d908f0

Register subscribers with the underlying guzzle client.

$client = new Client(
    'https://example.com/jsonrpc',
    ['subscribers' => [new ErrorSubscriber()]]
);