-
Notifications
You must be signed in to change notification settings - Fork 254
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 specify a request body? #40
Comments
A body with Maybe it is possible to implement, but what is the use case? Can one supply a body when doing WebSocket connection from a browser? In typical protocols there may be a body in separate |
Some GraphQL servers (e.g. https://github.com/99designs/gqlgen) allow specifying a subscription query in the body which results in upgrading the connection to websocket. |
Is it possible to send body-containing such WebSocket request from a browser? Currently it is problematic to do such upgrade from WebSocat. If you can do such upgrade using some external program (e.g. like
|
How can we supply an optional body, such as a JSON document, to include in a WebSocket request?
The text was updated successfully, but these errors were encountered: