Closed geoai777 closed 11 months ago
If I understand correctly, you want to process gRPC Web requests in your server. There is currently no implementation for this, see #216. You could use a proxy, see https://grpc.io/docs/platforms/web/basics/.
I'd rather write it :) Proxy is good, but a bit excessive in my opinion.
short description
Building client-server app, here's diagram:
Everything works on gRPC side, gRPC web gets data from flutter web application. Is it possible to make gRPC methods to process incoming gRPC data or what will be best solution to process that data?
versions
dart 3.2.3
current code
Details
AFAICT in gRPC
server.serve
all comes toServerHandler.handle()
method atpub.dev\grpc-3.2.4\lib\src\server\handler.dart
. At first glance looks like same method can be used to parse gRPC web part.Advise needed.