Nancy.Response.Response C# (CSharp) Méthode

Response() public méthode

Initializes a new instance of the Response class.
public Response ( ) : System
Résultat System
        public Response()
        {
            this.Contents = NoBody;
            this.ContentType = "text/html";
            this.Headers = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
            this.StatusCode = HttpStatusCode.OK;
            this.Cookies = new List<INancyCookie>(2);
        }