Comments (6)
Addressed in #88.
from grpcui.
@rosshadden, -H
sets headers used for all requests.
from grpcui.
@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.
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.
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.
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)
- Question about JSON HOT 3
- -default-header would be clear when using -examples at the same time HOT 2
- Failed to dial target host "localhost:8181": context deadline exceeded HOT 3
- Can't I use Dockerfile? HOT 2
- where is the docker image hosted? HOT 5
- Import Error "lookup of '$ret6' failed HOT 3
- The browser displays a connection error. HOT 1
- How can I wait for stream answers? HOT 1
- Is gRPC curl still visible from `Raw request` tab?
- Runtime error: invalid memory address or nil pointer dereference HOT 4
- M1 grpcui -plaintext localhost:8023 Failed to compute set of methods to expose: proto: invalid syntax: "<unknown:0>" HOT 5
- Failed to compute set of methods to expose: EOF
- undefined: indent HOT 1
- Shareable grpcui link that auto-populates request
- Feature request: Searching RPC based on its name
- [Feature request] Allow re-compute headers on each grpc call HOT 2
- [Feature Request] Provide a Response Form to view Response just like Request form showing all field names and path underneath HOT 1
- background image (grpc-bg.svg) is too large HOT 1
- run grpcui and got "Symbol not found: grpc.health.v1.Health" HOT 1
- Release v1 reflection changes as 1.4.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpcui.