Skip to main content

send_headers_frame_with_expected_result

Function send_headers_frame_with_expected_result 

Source
pub fn send_headers_frame_with_expected_result(
    stream_id: u64,
    fin_stream: bool,
    headers: Vec<Header>,
    expected_result: ExpectedStreamSendResult,
) -> Action
Expand description

Convenience to convert between header-related data and a Action::SendHeadersFrame.