async_graphql::http

Function playground_source

source
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"));