Open cxbrooks opened 7 years ago
Edward wrote:
I just noticed that the httpClient module implementation in the Node host does not have quite the same API as the httpClient module in the Nashorn host. The latter is documented here:
https://www.icyphy.org/accessors/wiki/Version0/HttpClient
I think the above wiki page needs to be the master definition of the interface.
I don't know how else to define the interface for a module, nor do I know how to enforce that two hosts implement the same interface. I think the policy we should follow is that each first writing of a module should document the API in the wiki, and then any port to other hosts needs to follow the same API, or change it in both the wiki and the first implementation..
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#533 From: @cxbrooks Reported version: unspecified CC: accessors-devel@terraswarm.org