phasync
StringStream / getContents

Method

StringStream::getContents

Returns the remaining contents in a string

Description#

public StringStream::getContents(): string

Return values#

string

Errors / Exceptions#

ExceptionWhen
RuntimeExceptionIf unable to read or an error occurs while reading.