-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Login, passcode #42
Comments
Hello @blinkmeoff, You can use socket.send() method however I do not recommend that because you need to handle everything for yourself. Therefore, you do not need this library if you want to do that, you can simply use Facebook's Websocket and handle it on your own: |
STOMP 1.2 clients MUST set the following headers: accept-version : The versions of the STOMP protocol the client supports. See Protocol Negotiation for more details. STOMP 1.2 clients MAY set the following headers: login : The user identifier used to authenticate against a secured STOMP server. |
At the end @blinkmeoff's business logic is fixed and it works :) |
My problem was that I was sending "login,passcode,accept-version" in header, this is wrong, to CONNECT via STOMP it's a simple String.
|
using username and password for login purposes is an essential feature. It would enhance the usefulness of this library much if it were documented somewhere. Not everyone will do a comprehensive search of open and closed issues just to find this feature. |
I will add an example on the README :) Thank you for the suggestion @michaelpeternell |
How can I set connection like that?
Where should I enter login and passcode? My delegate methods are not called, getting output frames failed, state 8196
Also I have wss://xxx.com:61024/
Please help.
The text was updated successfully, but these errors were encountered: