ModifyHeaderInfo constructor

ModifyHeaderInfo({
  1. required String header,
  2. required HeaderOperation operation,
  3. String? value,
})

Implementation

ModifyHeaderInfo({
  /// The name of the header to be modified.
  required String header,

  /// The operation to be performed on a header.
  required HeaderOperation operation,

  /// The new value for the header. Must be specified for `append`
  /// and `set` operations.
  String? value,
}) : _wrapped = $js.ModifyHeaderInfo(
        header: header,
        operation: operation.toJS,
        value: value,
      );