I implemented a proxy and Express middleware for Node.js #1329
marella
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Very cool.. such a simple solution.. Thanks very much for sharing.. :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, is it possible to use the package for server-side-streaming in a browser ? can i use the i did saw the http2 option, it will send http2 requests through express ? Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@grpc-web/proxy

This is a standalone proxy server created using
@grpc-web/middleware
(see below),connect
andcors
packages. It passes the interop tests and can be run directly from the command line:or used as a library:
It can be run in the same process as the gRPC server:
For more details, please see README.
@grpc-web/middleware

This middleware can be used with existing Express and Connect applications. Here is a full working example of a proxy server created using
express
andcors
packages:It only handles gRPC Web requests and ignores normal HTTP requests, so it can be used together with normal web applications:
For more details, please see README.
Beta Was this translation helpful? Give feedback.
All reactions