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"));
pub fn playground_source(config: GraphQLPlaygroundConfig<'_>) -> String
Generate the page for GraphQL Playground
use async_graphql::http::*;
playground_source(GraphQLPlaygroundConfig::new("http://localhost:8000"));