lighttp v0.1.0 (2018-03-21T17:11:43Z)
Dub
Repo
Resource
lighttp
util
Undocumented in source.
class
Resource {
immutable
size_t
thresold
;
const
(
void
)[]
uncompressed
;
const
(
void
)[]
compressed
;
this
(string mime, size_t thresold);
this
(string mime, void[] data);
void
[]
data
[@property setter];
void
apply
(Request req, Response res);
}
Constructors
this
this
(string mime, size_t thresold)
Undocumented in source.
this
this
(string mime, void[] data)
Undocumented in source.
Members
Functions
apply
void
apply
(Request req, Response res)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
data
void
[]
data
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
compressed
const
(
void
)[]
compressed
;
Undocumented in source.
thresold
size_t
thresold
;
Undocumented in source.
uncompressed
const
(
void
)[]
uncompressed
;
Undocumented in source.
Meta
Source
See Implementation
lighttp
util
classes
CachedResource
HTTP
Request
Resource
Response
enums
StatusCodes
manifest constants
defaultHeaders
structs
Status