pub async fn process_file(
config: &Option<ProcessingConfig>,
layer: &ProcessingLayer,
bytes: Bytes,
mime: &Mime,
) -> Result<Option<ProcessingOutput>, ProcessingError>Expand description
Processes a file returning the generated processing output
ยงArguments
config- Optional config for processingconverter- Converter for office filesfile_bytes- Actual byte contents of the filemime- Mime type of the file being processed