Connect-RPC Has a Free API: gRPC That Works in Browsers Without a Proxy

go dev.to

gRPC is great for backend-to-backend. But in browsers? You need grpc-web, Envoy proxy, and prayers. Connect-RPC just works. What Is Connect-RPC? Connect-RPC (from the Buf team) is a set of libraries for building browser and gRPC-compatible APIs. Define your service once with Protobuf, get clients for browsers AND gRPC — no proxy needed. // user/v1/user.proto syntax = "proto3"; package user.v1; service UserService { rpc GetUser(GetUserRequest) returns (GetUserResponse) {} rpc

Read Full Tutorial open_in_new
arrow_back Back to Tutorials