@protobuf-ts/runtime-rpc

Runtime library for RPC clients generated by the protoc plugin "protobuf-ts"

Usage no npm install needed!

<script type="module">
  import protobufTsRuntimeRpc from 'https://cdn.skypack.dev/@protobuf-ts/runtime-rpc';
</script>

README

@protobuf-ts/runtime-rpc

Runtime library for RPC clients generated by protobuf-ts.

Install this plugin if you want to create your own RPC transport:

# with npm:
npm install @protobuf-ts/runtime-rpc

# with yarn:
yarn add @protobuf-ts/runtime-rpc

Or use one of the transports built with this package, for example Twirp via @protobuf-ts/twirp-transport or gRPC web via @protobuf-ts/grpcweb-transport.

To learn more about the types provided by this package, please read the MANUAL.