Skip to content

Commit 1429ccf

Browse files
authored
Docs: Fixes a broken link to grpc-web-proxy (#717)
The "configured to enable WebSocket support" link in the Socket-based Transports section was broken, which this fixes.
1 parent d92a6da commit 1429ccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/grpc-web/docs/transport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ interface XhrTransportInit {
8282
The `XhrTransport` will automatically detect the Firefox Browser v21+ and make use of the `moz-chunked-arraybuffer` feature which provides enables efficient server-streaming. All other browsers will fall-back to buffering the entire response in memory for the lifecycle of the stream (see [known limitations of HTTP/2-based transports](#http/2-based-transports)).
8383

8484
### Socket-based Transports
85-
Browser based HTTP/2 transports have a number of limitations and caveats. We can work around all of these, including support for client-streams and bi-directional streams, by utilising the browser's native [`WebSocket` API](). Note that the `grpc-web-proxy` must be [configured to enable WebSocket support](../../go/grpcwebproxy/README.md#enabling-websocket-transport).
85+
Browser based HTTP/2 transports have a number of limitations and caveats. We can work around all of these, including support for client-streams and bi-directional streams, by utilising the browser's native [`WebSocket` API](). Note that the `grpc-web-proxy` must be [configured to enable WebSocket support](../../../go/grpcwebproxy/README.md#enabling-websocket-transport).
8686

8787
## Alternative Transports
8888
Custom transports can be created by implementing the `Transport` interface; the following transports exist as npm packages which you can import and make use of:
8989

90-
* [grpc-web-node-http-transport](http://npmjs.com/package/grpc-web-node-http-transport) - Enables the use of grpc-web in NodeJS (ie: non-browser) environments.
90+
* [grpc-web-node-http-transport](http://npmjs.com/package/grpc-web-node-http-transport) - Enables the use of grpc-web in NodeJS (ie: non-browser) environments.

0 commit comments

Comments
 (0)