We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Is it possible to send headers to the web socket when first making a connection? I was looking to replicate this code that uses curl ( https://gist.github.com/htp/fbce19069187ec1cc486b594104f01d0 ) using your web socket client.
The text was updated successfully, but these errors were encountered:
According the code https://github.com/shokai/websocket-client-simple/blob/master/lib/websocket-client-simple/client.rb#L32 WebSocket::Client::Simple.connect(URL, header: {your: "header"}) should work
WebSocket::Client::Simple.connect(URL, header: {your: "header"})
Sorry, something went wrong.
@laredotornado This repository was moved ruby-jp/websocket-client-simple. If you still need this, make pull request or issue to ruby-jp/websocket-client-simple again, thx.
No branches or pull requests
Hi,
Is it possible to send headers to the web socket when first making a connection? I was looking to replicate this code that uses curl ( https://gist.github.com/htp/fbce19069187ec1cc486b594104f01d0 ) using your web socket client.
The text was updated successfully, but these errors were encountered: