GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — grpc web library generation · Issue #6 · commitdev/zero

grpc web library generation #6

New issue
Copy link
New issue
Copy link
Closed
Closed
grpc web library generation#6
Copy link
Assignees
Pritesh-Patel

Description

@Pritesh-Patel
Pritesh-Patel
opened on Sep 25, 2019
Issue body actions

Generate grpc-web artifacts for the frontend to consume - the proxy can be added at a later stage

What options do we need to support?

These are from the grpc-web repo:

Import Style
import_style=closure: The default generated code has Closure goog.require() import style.

import_style=commonjs: The CommonJS style require() is also supported.

import_style=commonjs+dts: (Experimental) In addition to above, a .d.ts typings file will also be generated for the protobuf messages and service stub.

import_style=typescript: (Experimental) The service stub will be generated in TypeScript.

Note: commonjs+dts and typescript only works with --grpc-web_out= import style.

Wire Format Mode
For more information about the gRPC-Web wire format, please see the specification here.

mode=grpcwebtext: The default generated code sends the payload in the grpc-web-text format.

Content-type: application/grpc-web-text
Payload are base64-encoded.
Both unary and server streaming calls are supported.
mode=grpcweb: A binary protobuf format is also supported.

Content-type: application/grpc-web+proto
Payload are in the binary protobuf format.
Only unary calls are supported for now.

Activity

  1. Pritesh-Patel
    self-assigned this
    on Sep 25, 2019
  2. Pritesh-Patel
    added a commit that references this issue on Sep 25, 2019

    #6 add grpc-web typescript generation support

    1f9cacf
  3. Pritesh-Patel
    added
    v0
    on Oct 1, 2019
  4. Pritesh-Patel
    added a commit that references this issue on Oct 2, 2019

    Merge pull request #7 from commitdev/grpc-web-typescript-support

    1c6622a
  5. Pritesh-Patel commented on Oct 7, 2019

    @Pritesh-Patel
    Pritesh-Patel
    on Oct 7, 2019
    ContributorAuthor
    More actions

    closed with #7

  6. Pritesh-Patel
    closed this as completedon Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Pritesh-Patel
    Pritesh-Patel

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.