Skip to main content

write_html_response

Function write_html_response 

Source
pub fn write_html_response(
    status: u16,
    status_text: &str,
    html: &str,
    csrf_token: Option<&str>,
) -> String
Expand description

Builds a complete bounded HTML response envelope.

§Parameters

§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!());