AuthenticatedChannel class

A channel that attaches an access token to gRPC metadata for every call

Inheritance

Constructors

AuthenticatedChannel(String host, int port, String accessToken, bool insecure, [String _sessionId()?])

Properties

accessToken String
final
grpcHost String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
host Object
Starts the Server with the given options. address can be either a String or an InternetAddress, in the latter case it can be a Unix Domain Socket address.
finalinherited
onConnectionStateChanged Stream<ConnectionState>
Stream of connection state changes
no setterinherited
options ChannelOptions
finalinherited
port int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options) ClientCall<Q, R>
Initiates a new RPC on this connection.
override
createConnection() ClientConnection
inherited
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