-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Not able to input streaming messages in cli mode #78
Comments
Thanks for pointing to a problem related to streaming in CLI mode! Right ways to send requests to streaming APIs are (JSON inputs, packages, services are pseudo):
You might think that inputs which are sent as client-side/bidi streaming API requests look strange. I'm planning to add more documentation to Evans repository. (#57) |
Could you show me an example input? |
Oh nevermind it already seems to work after all, I must have done something wrong when I tried previously... |
I'm trying to send a stream of messages in cli mode, but I can't find any information about how this is done. I tried the two most obvious ways (in my mind at least):
[{}]
, but evans complain about an unexpected character[
. (failed to read input from JSON: Bad input. Expecting start of JSON object: '{'. Instead got: [.
)EOF
. (failed to read input from JSON: EOF
)Is this even possible, and if it is, could you point me in the right direction to get this to work? And possibly add some documentation somewhere about it?
The text was updated successfully, but these errors were encountered: