Add initial documentation for SSLServer
|ruby -v:||2.0.0-p247||Backport:||1.9.3: UNKNOWN, 2.0.0: UNKNOWN|
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.
#2 Updated by Zachary Scott about 2 years ago
@lisukorin 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?
#4 Updated by Rafał Lisowski almost 2 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