beangle.web.file

Undocumented in source.

Members

Classes

CacheSetting
class CacheSetting
Undocumented in source.

Functions

encodeAttachmentName
string encodeAttachmentName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
parseRange
ulong[2] parseRange(string range, ulong maxSize)

https://tools.ietf.org/html/rfc7233

Range can be in form "-\d", "\d-" or "\d-\d"

sendFile
void sendFile(HTTPServerRequest req, HTTPServerResponse res, string path, CacheSetting settings)
Undocumented in source. Be warned that the author may not have intended to support it.
sendFiles
void sendFiles(HTTPServerRequest req, HTTPServerResponse res, string[] paths, CacheSetting settings)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

default_settings
CacheSetting default_settings;
Undocumented in source.

Meta