File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/GraphQL.Client/Websocket Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ public Task InitializeWebSocket()
408408#else
409409 _clientWebSocket = new ClientWebSocket ( ) ;
410410 _clientWebSocket . Options . AddSubProtocol ( "graphql-ws" ) ;
411- if ( ! System . Runtime . InteropServices . RuntimeInformation . IsOSPlatform ( System . Runtime . InteropServices . OSPlatform . Create ( "WEBASSEMBLY " ) ) )
411+ if ( ! System . Runtime . InteropServices . RuntimeInformation . IsOSPlatform ( System . Runtime . InteropServices . OSPlatform . Create ( "BROWSER " ) ) )
412412 {
413413 // the following properties are not supported in Blazor WebAssembly and throw a PlatformNotSupportedException error when accessed
414414 _clientWebSocket . Options . ClientCertificates = ( ( HttpClientHandler ) Options . HttpMessageHandler ) . ClientCertificates ;
You can’t perform that action at this time.
0 commit comments