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