hMailServer.Protocols.POP3.Pop3ServerCommandHandler.HandleStat C# (CSharp) Method

HandleStat() public method

public HandleStat ( ) : Task
return Task
        public Task<Pop3CommandReply> HandleStat()
        {
            var totalSize = _messages.Sum(f => f.Size);

            var responseMessage = string.Format("{0} {1}", _messages.Count, totalSize);

            return Task.Run(() => new Pop3CommandReply(true, responseMessage));
        }