phasync
RequestBody / getContents

Method

RequestBody::getContents

Returns the remaining contents in a string

Description#

public RequestBody::getContents(): string

Return values#

string

Errors / Exceptions#

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