-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to send request strcut with bytes? #22
Comments
i use like this , and it doesn't work well
|
I am not sure how to accomplish this practically, I'll have to think about it look into it further. |
so mark it as a feature request?@bojand |
One option would be to provide support for reading binary serialized data. So for example you would provide a file (or via stdin) with the full message that's been serialized using protobuf. We could read it unmarshal it and use it as payload. |
Protobuf's encoding of strings is described here, which should be similar to how bytes are handled: https://developers.google.com/protocol-buffers/docs/encoding#types I like the idea of pre-serializing the binary data and feeding that as an input file/stdin. (Or having ghz use protobuf to serialize a binary file provided as input.) +1 for this feature request. I don't have a use for this tool without this feature. |
Hello, I agree this would be useful. The issue got a bit forgotten. I'll try and implement something soon-ish as I find the time. Thanks. |
Hello, can you try the 0.14.0 release and check if it works for your use cases. I am closing this issue. If there are problems please feel free to open a new issue with all the details. |
the protobuf file as above , how can i send bytes on your cli tools?
The text was updated successfully, but these errors were encountered: