module documentation
(source)

Basic protocols, such as line-oriented, netstring, and int prefixed strings.

Variable DEBUG Undocumented
Class NetstringParseError The incoming data is not in valid Netstring format.
Class IncompleteNetstring Not enough data to complete a netstring.
Class NetstringReceiver A protocol that sends and receives netstrings.
Class LineOnlyReceiver A protocol that receives only lines.
Class LineReceiver A protocol that receives lines and/or raw data, depending on mode.
Class StringTooLongError Raised when trying to send a string too long for a length prefixed protocol.
Class IntNStringReceiver Generic class for length prefixed protocols.
Class Int32StringReceiver A receiver for int32-prefixed strings.
Class Int16StringReceiver A receiver for int16-prefixed strings.
Class Int8StringReceiver A receiver for int8-prefixed strings.
Class StatefulStringProtocol A stateful string protocol.
Class FileSender A producer that sends the contents of a file to a consumer.
Function _formatNetstring Convert some bytes into netstring format.
Class _PauseableMixin Undocumented
Class _RecvdCompatHack Emulates the to-be-deprecated IntNStringReceiver.recvd attribute.
def _formatNetstring(data): (source)

Convert some bytes into netstring format.

Parametersdatabytes that will be reformatted.
DEBUG = (source)

Undocumented

(type: int)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.