Function create_query_context

Source
pub(crate) fn create_query_context(
    channel: Channel,
    header: Option<&RequestHeader>,
    extensions: Vec<(String, String)>,
) -> Result<QueryContextRef>
Expand description

Creates a new QueryContext from the provided request header and extensions. Strongly recommend setting an appropriate channel, as this is very helpful for statistics.