CronetGrpcClientChannel class

Constructors

CronetGrpcClientChannel(String _host, {int port = 443, ChannelOptions options = const grpc.ChannelOptions(), List<int>? trustedCertificate})
CronetGrpcClientChannel.withEngine(BicronetEngine? _engine, String _host, {int port = 443, ChannelOptions options = const grpc.ChannelOptions()})

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnectionStateChanged Stream<ConnectionState>
Stream of connection state changes
no setterinherited
options → ChannelOptions
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trustedCertificate List<int>?
final

Methods

createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options) → ClientCall<Q, R>
Initiates a new RPC on this connection.
inherited
createConnection() → ClientConnection
getConnection() Future<ClientConnection>
Returns a connection to this Channel's RPC endpoint.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() Future<void>
Shuts down this channel.
inherited
terminate() Future<void>
Terminates this channel.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited