andreasewering/elm-grpc/1.0.3

NOTE: the latest version is 1.1.1

Renamed to anmolitor/elm-grpc. It is published under that name, and new versions come out there.

Versions published as andreasewering/elm-grpc still install under that name. 5 versions of 6 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/anmolitor/elm-grpc.

What we checked: The repo moved to github.com/anmolitor/elm-grpc. Rebuilt with git archive from commit 843710935ffe of https://github.com/anmolitor/elm-grpc (zip prefix andreasewering-elm-grpc-d79141b/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 b62f61ea313496ff1fd91d7eb64ba169dd8ea953.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/andreasewering/elm-grpc/zipball/1.0.3/

Elm-gRPC

gRPC-Web Implementation for the Elm programming language.

Designed for protoc-gen-elm code generation.

Important note: Thanks to Martin Rosenberg for his elm-grpc package which this package builds upon. I felt like I wanted a different API for protoc-gen-elm than what he currently has and wanted freedom to iterate quickly and show my API to other developers. We can merge the packages later!

Limitations

Currently, only unary requests are supported. If you have ideas how to implement server-side streaming, I'm open for pull requests/issues. As far as I am aware, grpc-web as a whole is blocked on client-side streaming/bidirectional streaming due to missing browser support.

Shoutouts

Resources

  • gRPC: https://grpc.io/
  • gRPC-Web: https://github.com/grpc/grpc-web