1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
``socketutils`` - ``socket`` wrappers
=====================================
.. automodule:: boltons.socketutils
BufferedSocket
--------------
.. autoclass:: boltons.socketutils.BufferedSocket
:members:
Exceptions
^^^^^^^^^^
These are a few exceptions that derive from :exc:`socket.error` and
provide clearer code and better error messages.
.. autoexception:: boltons.socketutils.Error
.. autoexception:: boltons.socketutils.Timeout
.. autoexception:: boltons.socketutils.ConnectionClosed
.. autoexception:: boltons.socketutils.MessageTooLong
Netstring
---------
.. autoclass:: boltons.socketutils.NetstringSocket
:members:
Nestring Exceptions
^^^^^^^^^^^^^^^^^^^
These are a few higher-level exceptions for Netstring connections.
.. autoexception:: boltons.socketutils.NetstringProtocolError
.. autoexception:: boltons.socketutils.NetstringInvalidSize
.. autoexception:: boltons.socketutils.NetstringMessageTooLong
|