b.s.p.ProtocolThreeRequester(_ProtocolThreeEncoder, Requester) : class documentation

Part of bzrlib.smart.protocol View In Hierarchy

No class docstring
Method __init__ Undocumented
Method set_headers Undocumented
Method call Make a remote call.
Method call_with_body_bytes Make a remote call of args with body bytes 'body'.
Method call_with_body_readv_array Make a remote call with a readv array.
Method call_with_body_stream Undocumented

Inherited from _ProtocolThreeEncoder:

Method flush Undocumented
Method _write_func Undocumented
Method _serialise_offsets Serialise a readv offset list.
Method _write_protocol_version Undocumented
Method _write_prefixed_bencode Undocumented
Method _write_headers Undocumented
Method _write_structure Undocumented
Method _write_end Undocumented
Method _write_prefixed_body Undocumented
Method _write_chunked_body_start Undocumented
Method _write_error_status Undocumented
Method _write_success_status Undocumented
def __init__(self, medium_request):
Undocumented
def set_headers(self, headers):
Undocumented
def call(self, *args):
Make a remote call.
Parametersargsthe arguments of this call.
def call_with_body_bytes(self, args, body):
Make a remote call of args with body bytes 'body'.

After calling this, call read_response_tuple to find the result out.

def call_with_body_readv_array(self, args, body):
Make a remote call with a readv array.

The body is encoded with one line per readv offset pair. The numbers in each pair are separated by a comma, and no trailing n is emitted.

def call_with_body_stream(self, args, stream):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.