SwooleCoroutinePsr18Client
in package
implements
ClientInterface
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
- ClientInterface
Methods
- __construct() : mixed
- sendRequest() : ResponseInterface
Methods
__construct()
public
__construct(ClientInterface $fallback, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory, float $timeoutSeconds) : mixed
Parameters
- $fallback : ClientInterface
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
- $timeoutSeconds : float
sendRequest()
public
sendRequest(RequestInterface $request) : ResponseInterface
Parameters
- $request : RequestInterface
Attributes
- #[Override]