-
Notifications
You must be signed in to change notification settings - Fork 29
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
Use as a websocket client #21
Comments
Hi @shmuelk, any thoughts on this? |
I agree that most of the needed code is already inside Kitura-WebSocket. If you are looking to me to implement it, unfortunately the rest of the IBM Research team that worked on Kitura is now working on other projects. Teams like us, often start things in IBM and then they get passed on to development teams. As has happened with Kitura's "transfer" to the good hands of the Swift @ IBM team. |
@shmuelk thanks for your answer. |
Kitura is actively being developed. The features added lately, such as codeable routing, have all come from the Swift @ IBM team. IBM Research was last involved in Kitura 1.7.0. Kitura 2.x.y was all done by Swift @ IBM. |
Hi @bduisenov - we have recently started looking at implementing client-side WebSockets in Swift. We're at an early stage though so I can't say when we might have something you could use. But just to let you know, it is something we're investigating. |
I would like to have this feature too. I tried to use BlueSocket, but I faced with the problem when you try to send something to |
I'm afraid other priorities took over and we haven't made any progress on this. But it's still something that we'd like to see. |
@ianpartridge Thanks. Maybe if you will have time can you look BlueSocket why I can set socket that needs to use HTTPS and doesn't send Plain Text :)? I think it should be automatic if we use HTTPS. And I'm waiting for a lot of new features :) |
Are you using https://github.com/IBM-Swift/BlueSSLService ? This is needed for HTTPS. |
@ianpartridge No, I haven't used it. But what certificates I should set if I connect to third-party WebSocket? We don't set any certificates when we open this URL in a web browser or when I use Starscream on iOS. |
If you are writing a client socket that needs to connect over TLS to a remote server you don't need a certificate - it's the server which has the certificate. I think you create an See https://github.com/IBM-Swift/BlueSSLService#creating-and-using-the-sslservice |
@ianpartridge Oh. We can create SSLService without parameters :) Thanks, it maybe helps. I'll try it. I think need to add it to readme. |
It does say "or, No certificate at all" but I agree there could be an example showing this fully. I'll raise an issue over there. Thanks! |
As there are currently no real websocket clients out there that work on Linux, extending Kitura-Websocket to be a client would be very helpful. Looks like adding client-side capability would not be too difficult as much of the parts are already in place.
The text was updated successfully, but these errors were encountered: