Enum async_graphql::BatchResponse
source · Expand description
Response for batchable queries
Variants§
Implementations§
source§impl BatchResponse
impl BatchResponse
sourcepub fn cache_control(&self) -> CacheControl
pub fn cache_control(&self) -> CacheControl
Gets cache control value
sourcepub fn http_headers(&self) -> HeaderMap
pub fn http_headers(&self) -> HeaderMap
Returns HTTP headers map.
sourcepub fn http_headers_iter(
&self
) -> impl Iterator<Item = (HeaderName, HeaderValue)>
pub fn http_headers_iter(
&self
) -> impl Iterator<Item = (HeaderName, HeaderValue)>
Returns HTTP headers iterator.