google / google/protobuf.dart

grpc-web request from linux client

Open
#854 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
572
Forks
196
Avg merge
1h 59m
Merged PRs (30d)
2

Description

Hi,
I would like to be able to make grpc-web requests from linux client. This requires xhr from linux. But grpc-web dependencies only exist in web. (grpc or grpcweb channel, for instance)

To circumvent this behavior, I tried to use universa_-html, a package that provides xhr on non-web platforms, but got some errors that might need further debugging/development. A fork exists with such modifications.

I think it might be useful to have this feature, in order to make testing grpc-web clients easier.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue's Linux-client requirement, the grpc or grpcweb channel dependencies, and the referenced universa_-html fork. Determine which platform constraints and errors must be addressed; done means grpc-web requests work from a Linux Dart client and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, grpc
Domain
api, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.