KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Web.GraphQL.Publisher.EndpointController Class Reference

GraphQL endpoint controller More...

Inheritance diagram for KlusterKite.Web.GraphQL.Publisher.EndpointController:

Classes

class  QueryRequest
 The GraphQL http request body description More...
 

Public Member Functions

 EndpointController (SchemaProvider schemaProvider, IDocumentExecuter executor, IDocumentWriter writer)
 Initializes a new instance of the EndpointController class. More...
 
async Task< IActionResult > Post ([FromBody] JObject query)
 Processes the GraphQL post request More...
 

Detailed Description

GraphQL endpoint controller

Definition at line 32 of file EndpointController.cs.

Constructor & Destructor Documentation

◆ EndpointController()

KlusterKite.Web.GraphQL.Publisher.EndpointController.EndpointController ( SchemaProvider  schemaProvider,
IDocumentExecuter  executor,
IDocumentWriter  writer 
)

Initializes a new instance of the EndpointController class.

Parameters
schemaProviderThe schema Provider.
executorThe executor.
writerThe writer.

Definition at line 61 of file EndpointController.cs.

Member Function Documentation

◆ Post()

async Task<IActionResult> KlusterKite.Web.GraphQL.Publisher.EndpointController.Post ( [FromBody] JObject  query)

Processes the GraphQL post request

Parameters
queryThe query data
Returns
GraphQL response

Definition at line 92 of file EndpointController.cs.


The documentation for this class was generated from the following file: