pub fn write_html_response(
status: u16,
status_text: &str,
html: &str,
csrf_token: Option<&str>,
) -> StringExpand description
Builds a complete bounded HTML response envelope.
§Parameters
status: Input consumed bycrate::runtime::dynamic::write_html_response.status_text: Input consumed bycrate::runtime::dynamic::write_html_response.html: Input consumed bycrate::runtime::dynamic::write_html_response.csrf_token: Input consumed bycrate::runtime::dynamic::write_html_response.
§Returns
Returns the computed value produced by crate::runtime::dynamic::write_html_response.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::write_html_response(400, "400 Bad Request", todo!(), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.