Transport represents the underlying transport for a client. A transport implements a protocol, such as Connect or gRPC-web, and allows for the concrete clients to be independent of the protocol.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stream<
I extends Object, O extends Object> (Spec< I, O> spec, Stream<I> input, [CallOptions? options]) → Future<StreamResponse< I, O> > - Call a streaming RPC - a method that takes zero or more input messages, and responds with zero or more output messages.
-
toString(
) → String -
A string representation of this object.
inherited
-
unary<
I extends Object, O extends Object> (Spec< I, O> spec, I input, [CallOptions? options]) → Future<UnaryResponse< I, O> > - Call a unary RPC - a method that takes a single input message, and responds with a single output message.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited