mode property

RequestMode get mode

Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.

Implementation

_i3.RequestMode get mode =>
    _i3.RequestModeOptions.values.byName(_i4.getProperty(
      this,
      'mode',
    ));