mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
fix connection
This commit is contained in:
@ -1,13 +1,8 @@
|
||||
from abc import ABC, abstractmethod
|
||||
import asyncio
|
||||
|
||||
class IRawConnection(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, ip, port):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def open_connection(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user