(self, len=1024, buffer=None)
return v
Read up to 'len' bytes from the SSL object and return them.

        If 'buffer' is provided, read into this buffer and return the number of
        bytes read.
Read up to 'len' bytes from the SSL object and return them.
Read up to len bytes from the SSL object and return them .
def read(self, len=1024, buffer=None):
        """Read up to 'len' bytes from the SSL object and return them.

        If 'buffer' is provided, read into this buffer and return the number of
        bytes read.
        """
        if buffer is not None:
            v = self._sslobj.read(len, buffer)
        else:
            v = self._sslobj.read(len)
        return v
def read ( self , len = 1024 , buffer = None ) : if buffer is not None : v = self . _sslobj . read ( len , buffer ) else : v = self . _sslobj . read ( len ) return v