b.t.t.SampleSocket(object) : class documentation

Part of bzrlib.tests.test_http View In Hierarchy

A socket-like object for use in testing the HTTP request handler.
Method __init__ Constructs a sample socket.
Method makefile Undocumented
def __init__(self, socket_read_content):
Constructs a sample socket.
Parameterssocket_read_contenta byte sequence
def makefile(self, mode='r', bufsize=None):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.