Function juniper_warp::playground_filter[][src]

pub fn playground_filter(
    graphql_endpoint_url: &'static str,
    subscriptions_endpoint_url: Option<&'static str>
) -> BoxedFilter<(Response<Vec<u8>>,)>
Expand description

Create a filter that replies with an HTML page containing GraphQL Playground. This does not handle routing, so you can mount it on any endpoint.