Run is called in a new groutine when the protocol has been negotiated with a peer. It should read and write messages from rw. The Payload for each message must be fully consumed.

The peer connection is closed when Start returns. It should return any protocol-level error (such as an I/O error) that is encountered.

Run is referenced in 1 repository