phasync
RequestBody / getSize

Method

RequestBody::getSize

Get the size of the stream if known.

Description#

public RequestBody::getSize(): ?int

Return values#

Returns the size in bytes if known, or null if unknown. ?int