Method | Description | |
---|---|---|
__construct ( Driver $driver = null ) | ||
request ( Icicle\Socket\Socket $socket, string $method, string | Icicle\Http\Message\Uri $uri, array $headers = [], Icicle\Stream\ReadableStream $body = null, array $options = [] ) : Generator | ||
send ( Icicle\Socket\Socket $socket, Request $request, array $options = [] ) : Generator |
public request ( Icicle\Socket\Socket $socket, string $method, string | Icicle\Http\Message\Uri $uri, array $headers = [], Icicle\Stream\ReadableStream $body = null, array $options = [] ) : Generator | ||
$socket | Icicle\Socket\Socket | |
$method | string | |
$uri | string | Icicle\Http\Message\Uri | |
$headers | array | |
$body | Icicle\Stream\ReadableStream | |
$options | array | |
return | Generator |