[][src]Function async_graphql::http::websocket::create

pub fn create<Query, Mutation, Subscription>(
    schema: &Schema<Query, Mutation, Subscription>
) -> (UnboundedSender<Vec<u8>>, impl Stream<Item = Vec<u8>>) where
    Query: ObjectType + Send + Sync + 'static,
    Mutation: ObjectType + Send + Sync + 'static,
    Subscription: SubscriptionType + Send + Sync + 'static, 

Create a websocket transport.