Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Public readonly method to get host and port from API instance #580

Closed
jwahyoung opened this issue Jul 24, 2017 · 1 comment
Closed

Public readonly method to get host and port from API instance #580

jwahyoung opened this issue Jul 24, 2017 · 1 comment

Comments

@jwahyoung
Copy link

Currently, if you have an instance of the ipfs-api object, it seems that there's no good way to tell what the configured port and hostname is. It'd be nice to expose these as read-only getters on the API object instance.

@daviddias
Copy link
Contributor

Thanks for the suggestion, @jedd-ahyoung. Would you like to submit a PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants