class BedrockHttpHandler

internal  
 

Send AWS requests through the framework's synchronous coroutine transport.

Methods

__construct(Factory $http, string $connection = AiManager::HTTP_CONNECTION)

Create an AWS HTTP handler.

PromiseInterface
__invoke(RequestInterface $request, array $options = [])

Send a signed request and return the settled AWS HTTP result.

Details

at line 34
__construct(Factory $http, string $connection = AiManager::HTTP_CONNECTION)

Create an AWS HTTP handler.

Parameters

Factory $http
string $connection

at line 45
PromiseInterface __invoke(RequestInterface $request, array $options = [])

Send a signed request and return the settled AWS HTTP result.

Parameters

RequestInterface $request
array $options

Return Value

PromiseInterface

Exceptions

CanceledException