File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/GraphQL.Client/Websocket Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,10 @@ public Task InitializeWebSocket()
408408 {
409409 _clientWebSocket . Options . ClientCertificates = ( ( HttpClientHandler ) Options . HttpMessageHandler ) . ClientCertificates ;
410410 }
411+ catch ( NotImplementedException )
412+ {
413+ Debug . WriteLine ( "property 'ClientWebSocketOptions.ClientCertificates' not implemented by current platform" ) ;
414+ }
411415 catch ( PlatformNotSupportedException )
412416 {
413417 Debug . WriteLine ( "property 'ClientWebSocketOptions.ClientCertificates' not supported by current platform" ) ;
@@ -417,6 +421,10 @@ public Task InitializeWebSocket()
417421 {
418422 _clientWebSocket . Options . UseDefaultCredentials = ( ( HttpClientHandler ) Options . HttpMessageHandler ) . UseDefaultCredentials ;
419423 }
424+ catch ( NotImplementedException )
425+ {
426+ Debug . WriteLine ( "property 'ClientWebSocketOptions.UseDefaultCredentials' not implemented by current platform" ) ;
427+ }
420428 catch ( PlatformNotSupportedException )
421429 {
422430 Debug . WriteLine ( "Property 'ClientWebSocketOptions.UseDefaultCredentials' not supported by current platform" ) ;
You can’t perform that action at this time.
0 commit comments