APIModuleProxyHttpCaller<T> constructor
APIModuleProxyHttpCaller<T> (
- HttpClient httpClient, {
- String? moduleRoute,
- bool? responsesAsJson,
- APIModuleProxyResponseErrorHandler? errorHandler,
Implementation
APIModuleProxyHttpCaller(this.httpClient,
{String? moduleRoute, bool? responsesAsJson, this.errorHandler})
: modulePath = _normalizeModulePath(moduleRoute),
responsesAsJson = responsesAsJson ?? true {
BonesAPI.boot();
}