Python Library Reference
Previous:
7.2.1 Socket Objects
Up:
7.2 socket
Next:
7.2.3 Example
7.2.2 SSL Objects
SSL objects have the following methods.
write
(
s
)
Writes the string
s
to the on the object's SSL connection. The return value is the number of bytes written.
read
(
[
n
]
)
If
n
is provided, read
n
bytes from the SSL connection, otherwise read until EOF. The return value is a string of the bytes read.
Release 2.3a0, documentation updated on March 24, 2002.
See
About this document...
for information on suggesting changes.