phasync
BufferedStream / getContents

Method

BufferedStream::getContents

Waits for end(), then returns the remaining content.

Description#

public BufferedStream::getContents(): string

Return values#

string

Errors / Exceptions#

ExceptionWhen
TimeoutExceptionWhen end() is not called within $deadlockTimeout seconds