the-binding-of-dsh
开发工具 活跃维护

the-binding-of-dsh

CH4ACKO3/the-binding-of-dsh

实现双向连接能力,同时无缝集成类型网关,简化跨服务通信链路配置,开箱即用无需复杂适配,可快速搭建稳定高效的分布式调用链路

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
264 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:CH4ACKO3/the-binding-of-dsh
git clone https://github.com/CH4ACKO3/the-binding-of-dsh.git
git clone git@github.com:CH4ACKO3/the-binding-of-dsh.git
README.md main

The Binding of DSH

Powered by Harmony

English | 简体中文

A DSH plugin that enables bidirectional RPC between Host and Client through the
native DSH Connection and Typert Gateway.

Features

  • Targeted Host-to-Client calls for connected browser or Node peers.
  • Symmetric Typert Gateway calls in both directions.
  • Request correlation, cancellation, and connection lifecycle handling.
  • Harmony patches that reuse DSH's existing HTTP and WebSocket transport.

The plugin adds no parallel RPC protocol. Connection remains responsible for
transport and peer addressing, while Typert Gateway remains responsible for
service descriptors, codecs, invocation, and errors.

Installation

npm install the-binding-of-dsh

The package declares its DSH client entrypoint and Harmony patches in
package.json, so it can be enabled as a regular DSH plugin.

Development

Requires Node.js 22.22.3 or newer.

npm install
npm run check

License

MIT