Package selection guidance compiled from public package information, community data, and project usage.
A Dart package providing utilities for implementing clients and servers that adhere to the JSON-RPC 2.0 specification. It enables structured, stateless communication over transport layers like WebSocket or HTTP, supporting method calls, notifications, and error handling. The package is designed for developers building RPC-based services or integrating with existing JSON-RPC endpoints. It offers a clean API for encoding and decoding messages, managing requests and responses, and handling asynchronous operations. Ideal for tools, IDEs, or backend services requiring remote procedure calls.
Use cases
Building RPC clients for external APIs
Implementing server-side JSON-RPC endpoints
Integrating with language servers (e.g., LSP)
Enabling real-time communication in web and mobile apps
Creating tooling for development environments
Key features
Supports JSON-RPC 2.0 protocol
Flexible transport layer integration
Built-in request/response handling
Error and notification support
Asynchronous message processing
Suitable for
Developers building language servers
Tooling and IDE extensions
Backend services needing remote calls
Cross-platform applications using RPC
Real-time data exchange systems
Considerations
Requires understanding of JSON-RPC 2.0 spec
Not suitable for simple HTTP APIs
Needs proper error handling in async flows
Limited documentation beyond core functionality
Best used with established transports like WebSocket
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.