public async ValueTask ExecuteAsync(RegisterSessionCommand command) { var loginInfo = new RegisterRequest { SessionId = command.SessionId, ConnectorId = command.ConnectorId, Name = command.Name }; await m_MessageQueueService.RequestAsync( "session.register", loginInfo.ToByteArray()).ConfigureAwait(false); }