pub fn request_multipart_field_value(
content_type: &str,
body: &[u8],
field_name: &str,
) -> Option<String>Expand description
Extracts one text field from an in-memory multipart request body.
§Parameters
content_type: Input consumed bycrate::runtime::json_commands::request_multipart_field_value.body: Input consumed bycrate::runtime::json_commands::request_multipart_field_value.field_name: Input consumed bycrate::runtime::json_commands::request_multipart_field_value.
§Returns
Returns Some when crate::runtime::json_commands::request_multipart_field_value can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::request_multipart_field_value(todo!(), b"", todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.