Connect RPC
Use the Buf Schema Registry (BSR) to install auto-generated, type-safe clients for your language.Supported Languages: TypeScript/JavaScript, Python, Go, Swift, Kotlin, Dart
Best For: Advanced users who want direct access to the RPC protocol with full type safety
Best For: Advanced users who want direct access to the RPC protocol with full type safety
Buf Registry
Browse the schema and generated SDKs
Connect RPC Docs
Learn about Connect RPC protocol
Installation
Usage Examples
Key Mapping (TypeScript)
| Source | Package Name | Import Path |
|---|---|---|
| Messages | @buf/simpleemailapi_public.bufbuild_es | .../v1/email_pb |
| Services | @buf/simpleemailapi_public.connectrpc_es | .../v1/email_connect |
File Extensions: If you are using ES Modules (modern Node.js or Vite), you may need to add the
.js extension to your imports even in TypeScript:
import { EmailService } from "@buf/.../v1/email_connect.js";