Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harmony-development/protobuf-ts-transport-hrpc

hRPC transport for protobuf-ts
https://github.com/harmony-development/protobuf-ts-transport-hrpc

Last synced: about 2 months ago
JSON representation

hRPC transport for protobuf-ts

Awesome Lists containing this project

README

        

# protobuf-ts-transport-hrpc

hRPC transport for protobuf-ts

Example usage:
```ts
import { ChatServiceClient } from "../gen/chat.client";
import { HrpcTransport } from "@harmony-dev/transport-hrpc";

// ChatServiceClient is the generated protobuf-ts client. Read protobuf-ts's usage guide for more details
const client = new ChatServiceClient(
new HrpcTransport({
// the service's URL for access.
baseUrl: "http://localhost:6969",
})
);
```