Function rustream::routes::media::render_content
source · fn render_content(
landing: Template<'_, '_>,
serializable: HashMap<&str, &String>
) -> HttpResponseExpand description
Create an HttpResponse based on the context built and rendered template.
§Arguments
landing-Templateretrieved from the configuration container.serializable-HashMapthat can be serialized into a single block of String to be rendered.