b.s.r.SmartServerResponse(object) : class documentation

Part of bzrlib.smart.request View In Hierarchy

Known subclasses: bzrlib.smart.request.FailedSmartServerResponse, bzrlib.smart.request.SuccessfulSmartServerResponse

A response to a client request.

This base class should not be used. Instead use SuccessfulSmartServerResponse and FailedSmartServerResponse as appropriate.

Method __init__ Constructor.
Method __eq__ Undocumented
Method __repr__ Undocumented
def __init__(self, args, body=None, body_stream=None):
Constructor.
Parametersargstuple of response arguments.
bodystring of a response body.
body_streamiterable of bytestrings to be streamed to the client.
def __eq__(self, other):
Undocumented
def __repr__(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.