A @see \io\vertx\jphp\ext\web\Route handler for GraphQL requests.
package |
Default |
---|
__construct()
graphiQLRequestHeaders( $arg0) : $this
The result will be applied on top of the fixed set of headers specified in @see \io\vertx\jphp\ext\web\handler\graphql\GraphiQLOptions.
This can be useful if, for example, the server is protected by authentication.
callable
$this
a reference to this, so the API can be used fluently
handle( $arg0) : void
RoutingContext
queryContext( $arg0) : $this
The provided factory
method will be invoked for each incoming GraphQL request.
callable
$this
a reference to this, so the API can be used fluently