File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
nanoFramework.System.Net.Http/Http Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ protected internal override HttpResponseMessage Send(HttpRequestMessage request)
262262 {
263263 throw new HttpRequestException ( "An error occurred while sending the request" , ex ) ;
264264 }
265-
265+
266266 return CreateResponseMessage ( wresponse , request ) ;
267267 }
268268
@@ -304,7 +304,7 @@ private HttpWebRequest CreateWebRequest(HttpRequestMessage request)
304304 wr . Timeout = ( int ) _timeout . TotalMilliseconds ;
305305 }
306306
307- wr . SslProtocols = SslProtocols ;
307+ wr . SslProtocols = _sslProtocols ;
308308 wr . HttpsAuthentCert = _caCert ;
309309
310310 if ( ClientCertificateOptions == ClientCertificateOption . Manual )
@@ -384,7 +384,7 @@ internal void SetWebRequestTimeout(TimeSpan timeout)
384384
385385 internal void SetWebRequestSslProcol ( SslProtocols sslProtocols )
386386 {
387- SslProtocols = sslProtocols ;
387+ _sslProtocols = sslProtocols ;
388388 }
389389
390390 internal void SetWebRequestHttpAuthCert ( X509Certificate certificate )
You can’t perform that action at this time.
0 commit comments