Function async_graphql::http::create_multipart_mixed_stream
source · pub fn create_multipart_mixed_stream<'a>(
input: impl Stream<Item = Response> + Send + Unpin + 'a,
heartbeat_timer: impl Stream<Item = ()> + Send + Unpin + 'a
) -> BoxStream<'a, Bytes>
Expand description
Create a stream for multipart/mixed
responses.
Reference: https://www.apollographql.com/docs/router/executing-operations/subscription-multipart-protocol/