Skip to content
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

allow to pass custom path and query string to ws connection #2

Closed
wants to merge 1 commit into from

Conversation

endel
Copy link

@endel endel commented Feb 8, 2018

This change allows to set custom query string to the websocket connection.

Example

local ws = websocket_async(true)
ws:connect("ws://0.0.0.0/custom_path?foo=bar")

@endel
Copy link
Author

endel commented Feb 8, 2018

Apparently this only works in the browser environment. 😢

@endel
Copy link
Author

endel commented Feb 26, 2018

This is now working as expected on https://github.com/britzl/defold-websocket

@endel endel closed this Feb 26, 2018
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.

1 participant