Ejemplo n.º 1
0
        /// <summary>
        /// 处理信息并应答
        /// </summary>
        private async void Handle(string postStr)
        {
            MessageHelp help            = new MessageHelp();
            string      responseContent = await help.ReturnMessage(postStr);

            currentResponse.ContentEncoding = Encoding.UTF8;
            currentResponse.Write(responseContent);
        }