Asynchronous I/O that doesn’t get in your way, written in D
Implements the given interface by forwarding all public methods to a REST server.
The server must talk the same protocol as registerRestInterface() generates. Be sure to set
the matching method style for this. The RestInterfaceClient class will derive from the
interface that is passed as a template argument. It can be used as a drop-in replacement
of the real implementation of the API this way.
If a request failed, timed out, or the server returned an non-success status code,
an RestException will be thrown.