link library Null safety

DocumentNode-based GraphQL execution interface.

Classes

DocumentNode-based GraphQL execution interface
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 [...]
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 and errors