gql_link library
DocumentNode
-based GraphQL execution interface.
Classes
- Link
-
DocumentNode
-based GraphQL execution interface - PassthroughLink
- RequestSerializer
-
JSON
Request
serializer. - ResponseParser
-
JSON
Response
parser
Typedefs
-
LinkFunction
= Stream<
Response> Function(Request request, [NextLink? forward]) - Link as a function
- LinkRouter = Link Function(Request request)
-
A function which returns a Link based on contents
Request
-
NextLink
= Stream<
Response> Function(Request request) -
Type of the
forward
function
Exceptions / Errors
- ContextReadException
- Exception occurring when reading from the context
- ContextWriteException
- Exception occurring when writing to the context
- LinkException
- A base class for exceptions thrown by links
- RequestFormatException
- Exception occurring when a terminating link tries to serialize the request
- ResponseFormatException
- Exception occurring when a terminating link tries to parse the response
- ServerException
-
Exception occurring when network fails
or parsed response is missing both
data
anderrors