Skip to main content

write

Function write 

Source
pub async fn write(
    paths: &ArtifactPaths,
    request_id: &str,
    ext: &str,
    bytes: &[u8],
) -> Result<PathBuf, Error>
Expand description

Write a single response body. request_id is the CDP-assigned id used as the filename stem; callers pick the extension from the mime type.