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
* @param array|null $config2 Mistake when refactoring the constructor from version 1 to version 2 - used as $config if set and $configOrResponseFactory is a response factory instance
37
+
* @param array $config intended for version 1 BC, used as $config if $config2 is not set and $configOrResponseFactory is a response factory instance
36
38
*
37
39
* string|null remote_socket Remote entrypoint (can be a tcp or unix domain address)
38
40
* int timeout Timeout before canceling request
@@ -43,17 +45,17 @@ class Client implements HttpClient
43
45
* int write_buffer_size Buffer when writing the request body, defaults to 8192
44
46
* int ssl_method Crypto method for ssl/tls, see PHP doc, defaults to STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
@trigger_error('Passing a Psr\Http\Message\ResponseFactoryInterface and a Psr\Http\Message\StreamFactoryInterface to SocketClient is deprecated, and will be removed in 3.0, you should only pass config options.', E_USER_DEPRECATED);
56
+
@trigger_error('Passing a Psr\Http\Message\ResponseFactoryInterface to SocketClient is deprecated, and will be removed in 3.0, you should only pass config options.', E_USER_DEPRECATED);
0 commit comments