HttpTimeFormatter

Members

Functions

format
mstring format()

Ditto; uses the current wall clock time.

format
mstring format(time_t t)

Generates a HTTP compliant date/time string (asctime) from t.

Static functions

format
mstring format(mstring dst, time_t t)

Generates a HTTP compliant date/time string from t and stores it in dst. dst.length must be ResultLength.

format
mstring format(mstring dst)

Ditto; uses the current wall clock time.

Static variables

now
time_t function() now;

Callback function to obtain the wall clock time. By default (null) the system time is queried using time() of the C stdlib. An application may set its own time function, if desired.

Variables

ResultLength
enum size_t ResultLength;

Date/time string length constant

Meta