Skip to content

Moving args to querystring#70

Open
devnull wants to merge 1 commit intosorenisanerd:masterfrom
devnull:master
Open

Moving args to querystring#70
devnull wants to merge 1 commit intosorenisanerd:masterfrom
devnull:master

Conversation

@devnull
Copy link
Copy Markdown

@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
Copy Markdown
Owner

What's the motivation behind this change?

@devnull
Copy link
Copy Markdown
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
Copy Markdown
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