Giter Club home page Giter Club logo

Comments (6)

jhump avatar jhump commented on May 27, 2024 1

Addressed in #88.

from grpcui.

jhump avatar jhump commented on May 27, 2024

@rosshadden, -H sets headers used for all requests.

from grpcui.

rosshadden avatar rosshadden commented on May 27, 2024

@jhump Is that an upcoming change? The version I have installed (latest from go install) doesn't have or support that option, and I can't find it in the source code in master either.

from grpcui.

jhump avatar jhump commented on May 27, 2024

Oh weird. How did we lose that... I thought it was there all along. So it's an accidental omission. It needs to be added (back?)

from grpcui.

jhump avatar jhump commented on May 27, 2024

Oh wait... Sorry, I was looking at grpcurl -h when I saw it.

It was in fact intentional that it not be in grpcui: because the user specifies the metadata in the UI.

I guess if we did have a -H option, it would just be used to populate the default values in the UI. I certainly wouldn't want there to be anything passed to the server that the user couldn't see or control. Maybe it should be called -default-headers instead.

The -reflect-headers are still needed because they are issued transparently -- the user does not invoke them through the UI but rather they are executed before the UI can be shown to populate the drop-downs and schema info.

from grpcui.

rosshadden avatar rosshadden commented on May 27, 2024

I like the -default-headers idea, and understand that you want them to be seen and controllable in the UI 👍.

from grpcui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.