Kotlin/JS support for GrpcClient
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.4k
- Forks
- 627
- Avg merge
- 3d 15m
- Merged PRs (30d)
- 20
Description
Currently, there is no implementation of com.squareup.wire.GrpcClient for Kotlin/JS, which is a shame because everything else works.
It's difficult for JS to speak gRPC natively since web browser APIs don't support bidirectional streaming. But maybe we can include an implementation of GrpcClient that speaks gRPC WEB.
Here's a gist of how that could work.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing com.squareup.wire.GrpcClient implementations and the Kotlin/JS source set. Read the linked gRPC-Web protocol and compare it with the linked gist to determine the supported transport behavior. Done means Kotlin/JS has a GrpcClient implementation that can speak gRPC-Web despite browser streaming limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, kotlin
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100