headers property

Map<String, String>? headers
final

The default request headers applied to all methods. Headers can be provided per request using the send or sendAll method's JsonRpcClientConfig paramter.

The Content-Type: application/json header is applied to all requests by default.

Implementation

final Map<String, String>? headers;