Transfer bytes from the output queue of each protocol to the input of the other.

ParametersserverThe protocol instance representing the server-side of this connection.
serverToClientThe _LoopbackQueue holding the server's output.
clientThe protocol instance representing the client-side of this connection.
clientToServerThe _LoopbackQueue holding the client's output.
pumpPolicySee loopbackAsync.
ReturnsA Deferred which fires when the connection has been closed and both sides have received notification of this.
Function pump Undocumented
def pump(source, q, target): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.