コード例 #1
0
        private static Requests.Web.RequestProperties ToRequestProperties(KissLog.Web.RequestProperties item)
        {
            if (item == null)
            {
                return(null);
            }

            return(new Requests.Web.RequestProperties
            {
                Cookies = item.Cookies,
                Headers = item.Headers,
                Claims = item.Claims,
                QueryString = item.QueryString,
                FormData = item.FormData,
                ServerVariables = item.ServerVariables,
                InputStream = item.InputStream
            });
        }
コード例 #2
0
 public HttpRequest()
 {
     Properties        = new RequestProperties();
     _KissLogRequestId = Guid.NewGuid().ToString();
 }