get method

Future<FastHttpResponse> get(
  1. dynamic url,
  2. dynamic body, {
  3. Map<String, dynamic> headers = const {},
  4. bool isReconnectStrategyStart = false,
  5. int reconnectTime = 0,
})

Implementation

Future<FastHttpResponse> get(
  url,
  body, {
  Map<String, dynamic> headers = const {},
  bool isReconnectStrategyStart = false,
  int reconnectTime = 0,
}) async {
  final response = await FastAppHttp.doGet(
    url: url,
    body: body,
    headers: headers,
    isReconnectStrategyStart: isReconnectStrategyStart,
    reconnectTime: reconnectTime,
  );
  return response;
}