Package-level declarations
Functions
Link copied to clipboard
fun graphQL(handler: GraphQLHandler, badRequestFn: (LensFailure) -> Response = { Response(BAD_REQUEST) }): RoutingHttpHandler
Routing plugin for GraphQL handling.
fun <T> graphQL(handler: GraphQLWithContextHandler<T>, getContext: (Request) -> T, badRequestFn: (LensFailure) -> Response = { Response(BAD_REQUEST) }): RoutingHttpHandler
Routing plugin for GraphQL handling with contextual data.
Link copied to clipboard
Serves the GraphQL playground content.