Method |
Description |
|
__construct ( React\EventLoop\LoopInterface $loop, Sender $sender = null, MessageFactory $messageFactory = null ) |
|
|
delete ( $url, $headers = [], $content = '' ) |
|
|
get ( $url, $headers = [] ) |
|
|
head ( $url, $headers = [] ) |
|
|
patch ( $url, $headers = [], $content = '' ) |
|
|
post ( $url, $headers = [], $content = '' ) |
|
|
put ( $url, $headers = [], $content = '' ) |
|
|
send ( Psr\Http\Message\RequestInterface $request ) |
|
|
submit ( $url, array $fields, $headers = [], $method = 'POST' ) |
|
|
withBase ( string | Psr\Http\Message\UriInterface $baseUri ) : self |
Creates a new Browser instance with the given absolute base URI |
|
withOptions ( array $options ) |
|
|
withSender ( Sender $sender ) |
|
|
withoutBase ( ) : self |
Creates a new Browser instance *without* a base URL |
|