headers method

Map<String, String> headers(
  1. Uri uri
)

Returns HTTP request headers to use in postMessage, when configuring the request to send to uri.

By default, returns {'Content-Type': 'application/x-protobuf'}.

Implementation

Map<String, String> headers(Uri uri) => _protobufContentType;