mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-05 23:23:12 +00:00
make things public
This commit is contained in:
parent
054bd365af
commit
682fecc395
@ -15,7 +15,7 @@ const DefaultReadSize: uint = 64*1024
|
||||
type
|
||||
Connection* = ref object of LPStream
|
||||
peerInfo*: PeerInfo
|
||||
stream: LPStream
|
||||
stream*: LPStream
|
||||
|
||||
proc newConnection*(stream: LPStream): Connection =
|
||||
## create a new Connection for the specified async reader/writer
|
||||
@ -93,7 +93,6 @@ method getPeerInfo* (c: Connection): Future[PeerInfo] {.base, async.} =
|
||||
## TODO: implement PeerInfo refresh over identify
|
||||
discard
|
||||
|
||||
method getObservedAddrs(c: Connection): Future[seq[MultiAddress]] {.base,
|
||||
async.} =
|
||||
method getObservedAddrs*(c: Connection): Future[MultiAddress] {.base, async.} =
|
||||
## get resolved multiaddresses for the connection
|
||||
discard
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user