Skip to main content

build_input_stream_error_frame

Function build_input_stream_error_frame 

Source
pub fn build_input_stream_error_frame(
    correlation_id: u64,
    stream_id: u16,
    code: &str,
    message: &str,
    chunk_seq: u64,
    recoverable_rid: u64,
) -> Result<Frame>
Expand description

Build an input-stream StreamError frame addressed to stream_id, echoing correlation_id so the client can pair it to the request.