YouTubePHP Documentation

DriverInterface

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
since
1.0.0
author

Valithor Obsidion valithor@valgorithms.com

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\ReadableStreamInterface still receiving data. Only the live chat stream asks for this.

Return values
PromiseInterface<string|int, ResponseInterface>
On this page

Search results