[][src]Function async_graphql::http::playground_source

pub fn playground_source(config: GraphQLPlaygroundConfig) -> String

Generate the page for GraphQL Playground

Example

use async_graphql::http::*;

playground_source(GraphQLPlaygroundConfig::new("http://localhost:8000"));