Transport class final
Transport for the gRPC-web protocol.
- Implemented types
Constructors
-
Transport.new({required String baseUrl, required Codec codec, required HttpClient httpClient, List<
Interceptor> ? interceptors, bool useHttpGet = false, Compression? sendCompression, List<Compression> ? acceptCompressions})
Properties
-
acceptCompressions
→ List<
Compression> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendCompression → Compression?
-
finalinherited
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.
inherited
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited