headers property

  1. @override
Map<String, String> get headers
inherited

Get and set request headers that will be applied to all requests created by this HTTP client.

Implementation

@override
Map<String, String> get headers => _headers;
  1. @override
set headers (Map<String, String> headers)
inherited

Get and set request headers that will be applied to all requests created by this HTTP client.

Implementation

@override
set headers(Map<String, String> headers) {
  _headers = CaseInsensitiveMap<String>.from(headers);
}