request.bytes()
Access:
public

This is the bytes class. It contains information about the amount bytes written and read during this request.

Summary

Name
Description
Returns the amount of bytes read.
Returns the amount of bytes written.

Functions

.read()
Access:
public
Summary:
Returns the amount of bytes read.

This function will return the amount of bytes that have been read from the request.

Returns

Type
Number
Description
The amount of bytes read.
.written()
Access:
public
Summary:
Returns the amount of bytes written.

This function returns the amount of bytes that have been written to the response.

Returns

Type
Number
Description
The amount of bytes written.