OpenSSL::SSL::SSLSocket does not define #recv and #send messages
|ruby -v:||ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]||Backport:|
OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not compatible with TCPSocket.
#1 Updated by Hal Brodigan almost 2 years ago
Here is a list of methods which are defined by TCPSocket, but not SSLSocket:
#3 Updated by Martin Bosslet over 1 year ago
I agree that it would be better design if SSLSocket responded to the same interface that TCPSocket responds to. However, that's quite a bunch of methods, it would take quite a while to implement them all... Are there any methods in particular that you are missing the most from that list?