Skip to content

harmony-development/protobuf-ts-transport-hrpc

Repository files navigation

protobuf-ts-transport-hrpc

hRPC transport for protobuf-ts

Example usage:

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",
  })
);

About

hRPC transport for protobuf-ts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published