コード例 #1
0
 protected internal NetworkLogHandler(IServerConnector serverConnector)
     : base(true)
 {
     ArgumentGuard.NotNull(serverConnector, nameof(serverConnector));
     isOpen_          = false;
     serverConnector_ = serverConnector;
     clientEvents_    = new LogSessionsClientEvents();
 }
コード例 #2
0
 public void SendLogs(LogSessionsClientEvents clientEvents)
 {
     EnsureHttpClient_();
     using (httpClient_.PostJson("api/sessions/log", clientEvents)) { }
 }