File tree Expand file tree Collapse file tree 5 files changed +1
-25
lines changed
Expand file tree Collapse file tree 5 files changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,6 @@ public static Socket Socket
2323 {
2424 Console . WriteLine ( "BridgeConnector connected!" ) ;
2525 } ) ;
26- _socket . On ( Socket . EVENT_CONNECT_ERROR , ( args ) =>
27- {
28- Console . WriteLine ( "Socket error! {0}" , args ?? "no args" ) ;
29- } ) ;
30- _socket . On ( Socket . EVENT_DISCONNECT , ( args ) =>
31- {
32- Console . WriteLine ( "Socket Disconnect! {0}" , args ?? "no args" ) ;
33- } ) ;
3426 }
3527 }
3628 }
@@ -41,7 +33,6 @@ public static Socket Socket
4133 if ( _socket == null && ! HybridSupport . IsElectronActive )
4234 {
4335 _socket = IO . Socket ( new Uri ( "http://localhost" ) , new IO . Options { AutoConnect = false } ) ;
44- Console . WriteLine ( "Electron not active. Socket created." ) ;
4536 }
4637 }
4738 }
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ This package contains the API to access the "native" electron API.</Description>
4040 <PrivateAssets >all</PrivateAssets >
4141 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
4242 </PackageReference >
43- <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.3" />
4443 <PackageReference Include =" SocketIoClientDotNet" Version =" 1.0.5" />
4544 <PackageReference Include =" System.Drawing.Common" Version =" 4.7.0" />
4645 </ItemGroup >
Original file line number Diff line number Diff line change 1- using Quobject . SocketIoClientDotNet . Client ;
2-
3- namespace ElectronNET . API
1+ namespace ElectronNET . API
42{
53 /// <summary>
64 ///
@@ -20,10 +18,5 @@ public static bool IsElectronActive
2018 return ! string . IsNullOrEmpty ( BridgeSettings . SocketPort ) ;
2119 }
2220 }
23-
24- /// <summary>
25- ///
26- /// </summary>
27- public static Socket Socket { get { return BridgeConnector . Socket ; } }
2821 }
2922}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments