Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun Application.apolloModule(executableSchema: ExecutableSchema, path: String = "/graphql", executionContext: (RoutingRequest) -> ExecutionContext = { ExecutionContext.Empty })
Link copied to clipboard
fun Application.apolloSandboxModule(title: String = "API sandbox", sandboxPath: String = "/", endpoint: (RoutingCall) -> String = { it.url { path("/graphql") } })
Link copied to clipboard
fun Application.apolloSubscriptionModule(executableSchema: ExecutableSchema, path: String = "/subscription", protocol: WsProtocol = WsProtocol.GraphqlWS, executionContext: (ApplicationRequest) -> ExecutionContext = { ExecutionContext.Empty })
Link copied to clipboard
suspend fun ApplicationRequest.parseAsGraphQLRequest(): Result<GraphQLRequest>
Link copied to clipboard
suspend fun ApplicationCall.respondGraphQL(executableSchema: ExecutableSchema, executionContext: ExecutionContext = ExecutionContext.Empty, configure: OutgoingContent.(GraphQLResponse?) -> Unit = {})