supportedProtocols property

  1. @override
SupportedProtocols supportedProtocols
override

The supported HTTP protocols, used for negotiating with remote servers.

By default, all protocols are supported.

Implementation

@override
SupportedProtocols get supportedProtocols =>
    baseClient?.supportedProtocols ?? super.supportedProtocols;
  1. @override
void supportedProtocols=(SupportedProtocols supportedProtocols)
override

The supported HTTP protocols, used for negotiating with remote servers.

By default, all protocols are supported.

Implementation

@override
set supportedProtocols(SupportedProtocols supportedProtocols) {
  if (baseClient != null) {
    baseClient!.supportedProtocols = supportedProtocols;
  } else {
    super.supportedProtocols = supportedProtocols;
  }
}