Part of twisted.protocols.amp View Source View In Hierarchy
|Method||copy||Return another AmpBox just like me.|
|Method||serialize||Convert me into a wire-encoded string.|
Serialize and send this box to a Amp instance. By the time it is being sent, several keys are required. I must have exactly ONE of:
|Returns||a str encoded according to the rules described in the module docstring.|
_ask _answer _error
If the '_ask' key is set, then the '_command' key must also be set.
|Parameters||proto||an AMP instance.|