class RequestBuilder

RequestBuilder class.

This class provides a convenient way of creating a PSR-7 request object.

Methods

__construct(string $accessToken, string $host, string $apiContentType, UserAgentGenerator $userAgentGenerator)

No description

build(string $method, string $path, array $options)

No description

Details

at line 47
__construct(string $accessToken, string $host, string $apiContentType, UserAgentGenerator $userAgentGenerator)

Parameters

string $accessToken
string $host
string $apiContentType
UserAgentGenerator $userAgentGenerator

at line 59
build(string $method, string $path, array $options)

Parameters

string $method
string $path
array $options