Write DATA to the underlying SSL channel. Returns number of bytes of DATA actually transmitted.
(self, data)
| 1164 | raise |
| 1165 | |
| 1166 | def write(self, data): |
| 1167 | """Write DATA to the underlying SSL channel. Returns |
| 1168 | number of bytes of DATA actually transmitted.""" |
| 1169 | |
| 1170 | self._checkClosed() |
| 1171 | if self._sslobj is None: |
| 1172 | raise ValueError("Write on closed or unwrapped SSL socket.") |
| 1173 | return self._sslobj.write(data) |
| 1174 | |
| 1175 | @_sslcopydoc |
| 1176 | def getpeercert(self, binary_form=False): |
nothing calls this directly
no test coverage detected