get abstract method

Future<Response> get(
  1. Uri uri, {
  2. Map<String, String>? headers,
})

Makes an HTTP GET request to a resource identified by uri.

An implementation could provide re-try or forwarding mechanism, only the final response is returned to a client.

Implementation

Future<http.Response> get(Uri uri, {Map<String, String>? headers});