Add initial documentation for SSLServer
In last few days I was struggling with SSLServer, so I decide to add some documentation to that class. Here is my first attempt to describe how use it.
Updated by zzak (Zachary Scott) over 8 years ago
lisukorin (Rafał Lisowski) For #to_io I would say "..passed as the first argument to ::new"
I also think 'start_immediately' is implementation and should just be :nodoc:'d
Can you show me how to use your example in the overview? I tried a few ways to self-sign a cert, but none of them worked with your script.
Also, I think its "Secure Socket Layer", you have "Secure Sockets Layer" in the overview?
Updated by lisukorin (Rafał Lisowski) over 8 years ago
I took me a while (usually I use openssl to generate certs) but I create a Ruby Class which can be used to generate certs.
It's quite big. I am not sure if we should include it in documentation. You can see it here https://gist.github.com/korin/6423967#file-cert_generator-rb