Skip to main content

json_rpc_2_nats 3.0.4 copy "json_rpc_2_nats: ^3.0.4" to clipboard
json_rpc_2_nats: ^3.0.4 copied to clipboard

Utilities to write a client or server using the JSON-RPC 2.0 and Nats

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_rpc_2_nats

With Flutter:

 $ flutter pub add json_rpc_2_nats

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  json_rpc_2_nats: ^3.0.4

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:json_rpc_2_nats/error_code.dart';
import 'package:json_rpc_2_nats/json_rpc_2.dart';
0
likes
125
points
18
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Utilities to write a client or server using the JSON-RPC 2.0 and Nats

License

BSD-3-Clause (license)

Dependencies

dart_nats, json_rpc_2, stack_trace, stream_channel

More

Packages that depend on json_rpc_2_nats