CRequest::getTotalBytes

The CRequest::getTotalBytes function retrieves the size of the current request in bytes.

size_t getTotalBytes();


Return Type

size_t
Upon successful completion, a value of type of size_t that contains the size of the current request in bytes is returned. Otherwise, -1 is returned.


Parameters

None.


Remarks

This function retrieves the size of the current request in bytes.


See Also

CRequest, CRequest::binaryRead

Example