lighttp ~master (2020-01-09T16:41:23Z)
Dub
Repo
Resource
lighttp
server
resource
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
(Http req, Http 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
(Http req, Http 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
server
resource
classes
CachedResource
Resource
TemplatedResource