class ssl.SSLSocket(socket.socket)
SSL sockets provide the following methods of Socket Objects:
accept() bind() close() connect() detach() fileno()
getpeername(), getsockname()
getsockopt(), setsockopt()
gettimeout(), settimeout(), setblocking()
listen() makefile()
recv(), recv_into() (but passing a non-zero flags argument is not allowed)
send(), sendall() (with the same limitation)
sendfile() (but os.sendfile will be used for plain-text sockets only, else send() will be used) shutd