requestExecute method
Implementation
static Future<Page<PathResponse>> requestExecute(
http.Client httpClient, Uri uri) async {
TypeToken type = new TypeToken<Page<PathResponse>>();
ResponseHandler<Page<PathResponse>> responseHandler =
new ResponseHandler<Page<PathResponse>>(type);
return await httpClient
.get(uri, headers: RequestBuilder.headers)
.then((response) {
return responseHandler.handleResponse(response);
});
}