RpcModule class final
Installs an RPC client into an application context.
Constructors
- RpcModule(RpcClient client)
-
Installs a caller-owned
client. - RpcModule.http({Uri? baseUri, HttpTransport? transport, Serializer? serializer, RpcHeadersProvider? headersProvider, String functionPath = '/__odroe/functions', int? maxRequestBodyBytes, int maxResponseFrameBytes = RpcClient.defaultMaxResponseFrameBytes})
-
Creates an HTTP-backed client and owns its default transport.
factory
Properties
Methods
-
dispose(
AppContext context) → void -
Releases resources owned by this module.
override
-
initialize(
AppContext context) → FutureOr< void> -
Starts work after every module has registered its values.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
ModuleRegistry registry) → void -
Registers the values and bindings owned by this module.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited