toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-graphql
/
org.http4k.graphql
Package-level
declarations
Types
Types
Graph
QLHandler
Link copied to clipboard
typealias
GraphQLHandler
=
(
GraphQLRequest
)
->
GraphQLResponse
Graph
QLRequest
Link copied to clipboard
data
class
GraphQLRequest
(
val
query
:
String
=
""
,
val
operationName
:
String
?
=
null
,
val
variables
:
Map
<
String
,
Any
>
?
=
emptyMap()
)
Graph
QLResponse
Link copied to clipboard
data
class
GraphQLResponse
(
val
data
:
Any
?
,
val
errors
:
List
<
Map
<
String
,
Any
>
>
?
)
Graph
QLWith
Context
Handler
Link copied to clipboard
typealias
GraphQLWithContextHandler
<
T
>
=
(
GraphQLRequest
,
T
)
->
GraphQLResponse