get method

  1. @override
Future<Response> get (
  1. dynamic url,
  2. {Map<String, String> headers}
)
override

Sends an HTTP GET request with the given headers to the given URL, which can be a Uri or a String.

For more fine-grained control over the request, use send instead.

Implementation

@override
Future<Response> get(url, {Map<String, String> headers}) =>
    _sendUnstreamed('GET', url, headers);