Struct juniper::iron_handlers::GraphiQLHandler
[−]
[src]
pub struct GraphiQLHandler { /* fields omitted */ }
Handler that renders GraphiQL - a graphical query editor interface
Methods
impl GraphiQLHandler
[src]
fn new(graphql_url: &str) -> GraphiQLHandler
Build a new GraphiQL handler targeting the specified URL.
The provided URL should point to the URL of the attached GraphQLHandler
. It can be
relative, so a common value could be "/graphql"
.
Trait Implementations
impl Handler for GraphiQLHandler
[src]
fn handle(&self, _: &mut Request) -> IronResult<Response>
Produce a Response
from a Request, with the possibility of error.