Documentation

EmulatedHttpClient
in package
implements HttpClient, HttpAsyncClient uses HttpAsyncClientDecorator, HttpClientEmulator

FinalYes

Emulates a synchronous HTTP client with the help of an asynchronous client.

Tags
author

Márk Sági-Kazár mark.sagikazar@gmail.com

Table of Contents

Interfaces

HttpClient
HttpAsyncClient
Sends a PSR-7 Request in an asynchronous way by returning a Promise.

Properties

$httpAsyncClient  : HttpAsyncClient

Methods

__construct()  : mixed
sendAsyncRequest()  : mixed
{@inheritdoc}
sendRequest()  : ResponseInterface
{@inheritdoc}

Properties

Methods


        
On this page

Search results