The multiaddr connection logger
The address of the remote end of the connection
When connection lifecycle events occurred
Immediately close the connection, any queued data will be discarded
Gracefully close the connection. All queued data will be written to the underlying transport.
Optional
options: AbortOptions
A MultiaddrConnection is returned by transports after dialing a peer. It is a low-level primitive and is the raw connection without encryption or stream multiplexing.