[−][src]Struct juniper_iron::GraphiQLHandler
Handler that renders GraphiQL
- a graphical query editor interface
Methods
impl GraphiQLHandler
[src]
pub fn new(graphql_url: &str) -> GraphiQLHandler
[src]
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>
[src]
Auto Trait Implementations
impl Send for GraphiQLHandler
impl Sync for GraphiQLHandler
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<F> Handler for F where
F: Send + Sync + 'static + Fn(&mut Request) -> Result<Response, IronError>,
[src]
F: Send + Sync + 'static + Fn(&mut Request) -> Result<Response, IronError>,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> UnsafeAny for T where
T: Any,
T: Any,