vibrance-z ~master (2023-07-07T05:40:45Z)
Dub
Repo
Routes.render
vibrant
routes
Routes
Renders a response with a given content type and status code.
Body
render
[@property setter]
Body
render
[@property setter]
void
render
(Body content, int code)
mixintemplate
Routes
(string ResourceName = "")
@
property
void
render
(
string
contentType
Body
)
(
Body
content
,
int
code
)
if
(
contentType.length
> 0 &&
contentType
[0] != '@'
)
void
render
[@property getter]
int
render
[@property setter]
Meta
Source
See Implementation
vibrant
routes
Routes
properties
render
static functions
install
Renders a response with a given content type and status code.