py-libp2p/libp2p/network/connection/raw_connection_interface.py

10 lines
175 B
Python
Raw Normal View History

from libp2p.io.abc import ReadWriteCloser
2018-11-13 02:02:49 +08:00
2018-11-11 22:56:44 +08:00
class IRawConnection(ReadWriteCloser):
2018-11-11 22:56:44 +08:00
"""
A Raw Connection provides a Reader and a Writer
"""
2019-08-01 19:12:11 +08:00
2019-10-25 01:28:42 +08:00
is_initiator: bool