Under Development
- build it with
make build
- open the Extension Management page by navigating to
chrome://extensions
. - enable Developer Mode by clicking the toggle switch next to "Developer mode".
- Click the LOAD UNPACKED button and select the extension
./build
directory.
const enableDevTools = window.__GRPCWEB_DEVTOOLS__ || (() => {});
const client = new EchoServiceClient('http://myapi.com');
enableDevTools([
client,
]);
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