module documentation
Basic protocols, such as line-oriented, netstring, and int prefixed strings.
Class |
|
A producer that sends the contents of a file to a consumer. |
Class |
|
A receiver for int16-prefixed strings. |
Class |
|
A receiver for int32-prefixed strings. |
Class |
|
A receiver for int8-prefixed strings. |
Class |
|
Generic class for length prefixed protocols. |
Class |
|
A protocol that receives only lines. |
Class |
|
A protocol that receives lines and/or raw data, depending on mode. |
Class |
|
A protocol that sends and receives netstrings. |
Class |
|
A stateful string protocol. |
Exception |
|
Not enough data to complete a netstring. |
Exception |
|
The incoming data is not in valid Netstring format. |
Exception |
|
Raised when trying to send a string too long for a length prefixed protocol. |
Constant | DEBUG |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Emulates the to-be-deprecated IntNStringReceiver.recvd attribute. |
Function | _format |
Convert some bytes into netstring format. |