supportedProtocols property
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;
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;
}
}