serverpod_json_rpc_2_client 1.0.0 copy "serverpod_json_rpc_2_client: ^1.0.0" to clipboard
serverpod_json_rpc_2_client: ^1.0.0 copied to clipboard

The client package for the serverpod_json_rpc_2 module for JSON RPC 2.0.

example/example.dart

import 'package:serverpod_json_rpc_2_client/serverpod_json_rpc_2_client.dart';

Future<void> connectStreamChannel(EndpointRef endpoint) async {
  await endpoint.client.openStreamingConnection();

  // ignore: unused_local_variable
  final client = endpoint.createClient();
  // ...
}
0
likes
150
pub points
0%
popularity

Publisher

verified publisherskycoder42.de

The client package for the serverpod_json_rpc_2 module for JSON RPC 2.0.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

json_rpc_2, serverpod_client, serverpod_json_rpc_2_shared, stream_channel

More

Packages that depend on serverpod_json_rpc_2_client