pub fn dynamic_multipart_find_part(
body: &[u8],
content_type: &str,
field_name: &str,
) -> Option<(Option<String>, Vec<u8>)>Expand description
Finds a multipart field and returns filename plus content bytes.
§Parameters
body: Raw multipart request body bytes.content_type: Request content type containing the multipart boundary.field_name: Multipart form field to extract.
§Returns
Returns Some when crate::runtime::json_commands::dynamic_multipart_find_part can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::dynamic_multipart_find_part.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::dynamic_multipart_find_part(b"", todo!(), todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.