libp2p.security.pnet package
Submodules
libp2p.security.pnet.protector module
- libp2p.security.pnet.protector.new_protected_conn(conn: RawConnection | IRawConnection, psk: str) PskConn
libp2p.security.pnet.psk_conn module
- class libp2p.security.pnet.psk_conn.PskConn(conn: RawConnection | IRawConnection, psk: str)
Bases:
RawConnection- get_remote_address() tuple[str, int] | None
Delegate to the underlying stream’s get_remote_address method.