libnghttp2_sys

Function nghttp2_session_get_root_stream

Source
pub unsafe extern "C" fn nghttp2_session_get_root_stream(
    session: *mut nghttp2_session,
) -> *mut nghttp2_stream
Expand description

@function

Returns root of dependency tree, which is imaginary stream with stream ID 0. The returned pointer is valid until |session| is freed by nghttp2_session_del().