Write DATA to the underlying SSL channel. Returns number of bytes of DATA actually transmitted.
(self, data)
| 1176 | raise |
| 1177 | |
| 1178 | def write(self, data): |
| 1179 | """Write DATA to the underlying SSL channel. Returns |
| 1180 | number of bytes of DATA actually transmitted.""" |
| 1181 | |
| 1182 | self._checkClosed() |
| 1183 | if self._sslobj is None: |
| 1184 | raise ValueError("Write on closed or unwrapped SSL socket.") |
| 1185 | return self._sslobj.write(data) |
| 1186 | |
| 1187 | @_sslcopydoc |
| 1188 | def getpeercert(self, binary_form=False): |
nothing calls this directly
no test coverage detected