Skip to main content

open_stream_is_input

Function open_stream_is_input 

Source
pub fn open_stream_is_input(payload: &[u8]) -> bool
Expand description

true when an OpenStream payload requests the input direction ({"direction":"in", ...}). Any other value — including a missing field or a malformed payload — is treated as the output direction so the existing S3 path keeps owning the default.