dispose method
void
dispose()
Disposes of the underlying HTTP client if it was created by this RemoteAction.
Call this when the RemoteAction is no longer needed to free up resources,
but only if an httpClient
was not provided at construction.
Implementation
void dispose() {
if (_ownsHttpClient) {
_httpClient.close();
}
}