Function juniper_actix::playground_handler[][src]

pub async fn playground_handler(
    graphql_endpoint_url: &str,
    subscriptions_endpoint_url: Option<&'static str>
) -> Result<HttpResponse, Error>
Expand description

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