Unit BrookExtra

Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Variables

Description

Contains useful extra types for the framework.

Overview

Constants

BROOK_POST_BUFFER_SIZE = 4096;
BROOK_PAYLOAD_LIMIT = 4194304;
BROOK_UPLOADS_LIMIT = 67108864;
BROOK_BACKLOG = 511;
BROOK_MIN_BUFFER_SIZE = 128;
BROOK_BUFFER_SIZE = 4096;
BROOK_FILE_RIGHTS = 438;
BROOK_CT_TEXT_PLAIN = 'text/plain; charset=utf-8';
BROOK_CT_OCTET_STREAM = 'application/octet-stream';

Description

Constants

BROOK_POST_BUFFER_SIZE = 4096;

Default post buffer size (in bytes).

BROOK_PAYLOAD_LIMIT = 4194304;

Default payload limit (in bytes).

BROOK_UPLOADS_LIMIT = 67108864;

Default upload(s) limit (in bytes).

BROOK_BACKLOG = 511;

Default maximum length of the queue of pending connections.

BROOK_MIN_BUFFER_SIZE = 128;

Default minimal buffer size (in bytes).

BROOK_BUFFER_SIZE = 4096;

Default buffer size (in bytes).

BROOK_FILE_RIGHTS = 438;

Default file rights (under Unix, 438 = &666 = owner/group/others can read/write).

BROOK_CT_TEXT_PLAIN = 'text/plain; charset=utf-8';

Default content type for text content (text/plain in UTF-8).

BROOK_CT_OCTET_STREAM = 'application/octet-stream';

Default content type for binary content (octet-stream).


Generated by PasDoc 0.16.0.