-
Notifications
You must be signed in to change notification settings - Fork 382
discussion: Endpoint API addr and bound_sockets #3925
Copy link
Copy link
Open
Labels
APIc-irohFunctionality of the core iroh crate.Functionality of the core iroh crate.decisionArchitectural choice that needs to be madeArchitectural choice that needs to be made
Milestone
Description
#3905 and #3924 cover the cases where what to return from the endpoint after it has been closed is more obvious.
These last two methods:
- addr
- bound_sockets
Are a bit more subjective.
Should we be returning the last known values for these fields, so that users can gather information about the endpoint after it was closed, the way they can with connections using the endpoint hook API + the ConnectionInfo?
Should we return empty values for these fields, since we no longer have bound sockets or addresses that can be used to dial the endpoint?
Should we have separate methods that return "last known cached values" for these methods?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIc-irohFunctionality of the core iroh crate.Functionality of the core iroh crate.decisionArchitectural choice that needs to be madeArchitectural choice that needs to be made
Type
Projects
Status
👍 Ready