[][src]Module ffsend_api::config

Constants

ECE_RECORD_SIZE

The ECE record size that is used (>= Send v2).

HTTP_STATUS_EXPIRED

The HTTP status code that is returned for expired or non existant files.

HTTP_STATUS_UNAUTHORIZED

The HTTP status code that is returned on authentication failure.

SEND_DEFAULT_DOWNLOADS

Default number of maximum downloads for a Send file.

SEND_DEFAULT_EXPIRE_TIME

The default time after which uploaded files expire after, in seconds.

SEND_DEFAULT_HOST

The Send host to use by default.

SEND_EXPIRY_DEFAULT

The default expriy time in seconds for a file.

TAG_LEN

The length of the tag in bytes we're using for cryptography.

UPLOAD_SIZE_MAX_RECOMMENDED

The recommended maximum upload size in bytes.

Functions

downloads_max

Get supported maximum number of download values for a Send file.

expiry_max

Get supported maximum file expiry time values in seconds for a Send file.

upload_size_max

Get the maximum file upload size.