Documentation

DecoratorTrait

Eases with writing decorators.

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

Properties

$client  : HttpClientInterface

Methods

__construct()  : mixed
request()  : ResponseInterface
reset()  : void
stream()  : ResponseStreamInterface
withOptions()  : static

Properties

Methods

request()

public request(string $method, string $url[, array<string|int, mixed> $options = [] ]) : ResponseInterface
Parameters
$method : string
$url : string
$options : array<string|int, mixed> = []
Return values
ResponseInterface

withOptions()

public withOptions(array<string|int, mixed> $options) : static
Parameters
$options : array<string|int, mixed>
Return values
static

        
On this page

Search results