b.s.p.Requester(object) : class documentation

Part of bzrlib.smart.protocol View In Hierarchy

Known subclasses: bzrlib.smart.protocol.ProtocolThreeRequester, bzrlib.smart.protocol.SmartClientRequestProtocolOne

Abstract base class for an object that can issue requests on a smart medium.
Method call Make a remote call.
Method call_with_body_bytes Make a remote call with a body.
Method call_with_body_readv_array Make a remote call with a readv array.
Method set_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 with a body.
Parametersargsthe arguments of this call.
bodythe body to send with the request. (type: str)
def call_with_body_readv_array(self, args, body):
Make a remote call with a readv array.
Parametersargsthe arguments of this call.
bodythe readv ranges to send with this request. (type: iterable of (start, length) tuples.)
def set_headers(self, headers):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-24 00:40:25.