-
Notifications
You must be signed in to change notification settings - Fork 52
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
Documentation example showing a TLS client needed #70
Comments
Sure, I’ll see what I can come up with. |
Hello, I tried to use this code
And I have error Can I use BlueSocket like a socket client on the Mac? |
Interesting. @billabt this should be possible right? |
@ianpartridge @billabt I think "should", I think the Kitura should work same on Mac and Linux. Maybe just need an example |
It's possible to use BlueSSLService and BlueSocket to write a client socket that talks over TLS.
To do this you create a
BlueSSLService.Configuration()
passing no parameters, then create anSSLService
from that, then set your socket'sdelegate
and callconnect()
.It would be good to have an example in the README showing this. Currently, although it's mentioned, all the code samples involve using
BlueSSLService.Configuration
to load a certificate from disk.It would be nice to have a simple example showing how BlueSSLService can be used to create a TLS client socket.
The text was updated successfully, but these errors were encountered: