grpc-web-devtools

Chrome Browser extension to aid gRPC-Web development

Github星跟蹤圖

gRPC-Web Dev Tools

PRs Welcome

gRPC-Web Dev Tools

Installation

Chrome

Via the Chrome Web Store (recommended)

or

  1. build it with make build
  2. open the Extension Management page by navigating to chrome://extensions.
  3. enable Developer Mode by clicking the toggle switch next to "Developer mode".
  4. Click the LOAD UNPACKED button and select the extension ./build directory.

Usage

const enableDevTools = window.__GRPCWEB_DEVTOOLS__, (() => {});
const client = new EchoServiceClient('http://myapi.com');
enableDevTools([
  client,
]);

NOTE: Requires that your generated client(s) use protoc-gen-grpc-web >= 1.0.4

Example

The example uses docker-compose to start a simple gRPC server, JavaScript client and the Envoy proxy for gRPC-Web:

make example-up

Example will be running on http://localhost:8080

To stop the example:

make example-down

主要指標

概覽
名稱與所有者SafetyCulture/grpc-web-devtools
主編程語言JavaScript
編程語言HTML (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2019-04-10 06:50:25
推送於2024-07-24 03:00:08
最后一次提交2024-07-24 13:00:05
發布數7
最新版本名稱v1.4.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數428
關注者數5
派生數59
提交數92
已啟用問題?
問題數51
打開的問題數25
拉請求數38
打開的拉請求數33
關閉的拉請求數60
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?