AdapterInterface
in
Http client adapter interface.
Table of Contents
Methods
Methods
send()
Send a request and get a response back.
public
send(RequestInterface $request, array<string, mixed> $options) : array<string|int, Response>
Parameters
- $request : RequestInterface
-
The request object to send.
- $options : array<string, mixed>
-
Array of options for the stream.
Return values
array<string|int, Response> —Array of populated Response objects