getBytes static method

Future<HttpResult> getBytes(
  1. String? url,
  2. Map<String, String?>? header,
  3. dynamic callback(
    1. HttpResult result
    )
)

发送get请求*

Implementation

static Future<HttpResult> getBytes(String? url,Map<String, String?>? header,Function(HttpResult result) callback) async {
  return await request("GET", ResponseType.bytes, url, header, null, callback);
}