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

pub fn playground_source(config: GraphQLPlaygroundConfig<'_>) -> String
Expand description

Generate the page for GraphQL Playground

Example

use async_graphql::http::*;

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