grpc_connection_interface library Null safety

Exports an interface suitable for defining an alternate implementation of ClientChannel.

Classes

CallOptions
Runtime options for an RPC.
ChannelOptions
Options controlling how connections are made on a ClientChannel.
ClientCall<Q, R>
An active call to a gRPC endpoint.
ClientChannel
A channel to a virtual gRPC endpoint. [...]
ClientChannelBase
Auxiliary base class implementing much of ClientChannel.
ClientConnection
Codec
CodecRegistry
Encloses classes related to the compression and decompression of messages.
GrpcHttpDecoder
GrpcMessage
GrpcTransportStream
GzipCodec
A gzip compressor and decompressor.
IdentityCodec
The "identity", or "none" codec. [...]

Functions

frame(List<int> rawPayload, [Codec? codec]) List<int>
grpcDecompressor({CodecRegistry? codecRegistry}) StreamTransformer<GrpcMessage, GrpcMessage>
toTimeoutString(Duration duration) String
Convert timeout to grpc-timeout header string format.

Typedefs

ErrorHandler = void Function(Object, StackTrace)

Exceptions / Errors

GrpcError