Private Readonly _inboundAn AbortController for controlled shutdown of the inbound stream
Private Optional _rawThe raw inbound stream, as retrieved from the callback from libp2p.handle
Private Optional _rawThe raw outbound stream, as retrieved from conn.newStream
Private closedReadonly idOptional inboundRead stream
Optional outboundWrite stream - it's preferable to use the write method
Readonly protocolDo we have a connection to read from?
Do we have a connection to write on?
Attach a raw inbound stream and setup a read stream
Attach a raw outbound stream and setup a write stream
Send a message to this peer.
Throws if there is no stream to write to available.
Thin wrapper around a peer's inbound / outbound pubsub streams