/// <summary> /// 启动服务 /// </summary> public void Start() { if (!IsRunning) { _httpServer.Start(); IsRunning = true; } }
/// <summary> /// 启动服务 /// </summary> public void Start() { if (!IsRunning) { _serverSocket.Start(); IsRunning = true; } }