headers method

HttpConfig headers(
  1. Map<String, String> headers
)

Sets custom HTTP headers

Implementation

HttpConfig headers(Map<String, String> headers) {
  _config['customHeaders'] = headers;
  return this;
}