-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add SSL support #10
Comments
If you want to connect to a server using SSL, you can initiate the connection yourself, and then setup the STOMP connection using the following function:
Or are you using the simple STOMP server implementation and want it to support SSL? |
Sorry, I'm still new to go and have been trying to figure out how to do On Mon, May 19, 2014 at 7:05 PM, John Jeffery [email protected]:
|
To create an SSL connection, use the crypto/tls package. See http://golang.org/pkg/crypto/tls/#Dial for details of the function to use to create a connection. The tls.Conn that this function returns can then be passed to the stomp.Connect function, because it implements the io.ReadWriteCloser interface. |
This issue is still open, were you planning on adding a convenience method or something? |
@alaska: Pull requests are very welcome. |
Is this the place to do it, or is go-stomp where all the happenings are? |
To be honest, I'm not all that sure. I moved the code to the go-stomp I wish I had not created the go-stomp repository, but now that it's there On Fri, 24 Apr 2015 at 15:07 Andy Walker [email protected] wrote:
|
go-stomp, if only because it looked more authoritative, what with its official-sounding name and all. I'm perfectly fine checking in here, however. I, too, am very reluctant to use gopkg.in, and kind of prefer in-repository versioning. |
It would be great if this would support SSL connections. Right now we're using stomp+ssl on port 61613 so we can't use straight tcp connections.
The text was updated successfully, but these errors were encountered: