DriverInterface
in
Executes a single prepared {@see Request} and resolves with the raw {@see ResponseInterface}, success or error status alike. Retries, error mapping and quota are {@see Http}'s job, not the driver's.
Tags
Table of Contents
Methods
- runRequest() : PromiseInterface<string|int, ResponseInterface>
Methods
runRequest()
public
runRequest(Request $request[, bool $streaming = false ]) : PromiseInterface<string|int, ResponseInterface>
Parameters
- $request : Request
- $streaming : bool = false
-
Resolve as soon as the headers arrive, with a body that is a
React\Stream\ReadableStreamInterfacestill receiving data. Only the live chat stream asks for this.