Skip to content

Conversation

@devnull
Copy link

@devnull devnull commented May 31, 2023

Rather than passing the arguments in the json payload, the arguments are instead included in the query string.

@sorenisanerd
Copy link
Owner

What's the motivation behind this change?

@devnull
Copy link
Author

devnull commented Jun 25, 2023

This allows the ability to dynamically adjust the arguments. In my case, i am proxying gotty and the websockets using AspNetProxy. I have a requirement to dynamically change the resulting command that is ultimately being called at the point of the proxy. When the command argument is encapsulated in the InitMessage, it’s not possible to change the content of the initmessage, but i could when it was made available in the query string.

@sorenisanerd
Copy link
Owner

I personally prefer the commands not being readily available in e.g. proxy logs, but I'm sympathetic to your use case. Can you make it optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants