public P2pSocketClient(P2pSocketClientOptions exchangeOptions, P2pAuthenticationProvider authenticationProvider) : base(exchangeOptions, authenticationProvider) { // AddGenericHandler("Pong", (connection, token) => { }); SendPeriodic(TimeSpan.FromSeconds(5), con => SocketRequestFactory.Create("server.ping")); }
public P2pClient(P2pClientOptions exchangeOptions, P2pAuthenticationProvider authenticationProvider) : base(exchangeOptions, authenticationProvider) { }