setCustomHeader method

Future<void> setCustomHeader(
  1. String key,
  2. String value
)

Set custom HTTP Header in the playback request.

Implementation

Future<void> setCustomHeader(String key, String value) async {
  await engineInstanceMethodChannel.invokeMethod('setCustomHeader', {
    'key': key,
    'value': value,
  });
}