Exemple #1
0
 public response(ref ptr <request> req = default, http.Header header = default, long code = default, bool wroteHeader = default, bool wroteCGIHeader = default, ref ptr <bufWriter> w = default)
 {
     this.req            = req;
     this.header         = header;
     this.code           = code;
     this.wroteHeader    = wroteHeader;
     this.wroteCGIHeader = wroteCGIHeader;
     this.w = w;
 }
Exemple #2
0
 public ResponseRecorder(long Code = default, http.Header HeaderMap = default, ref ptr <bytes.Buffer> Body = default, bool Flushed = default, ref ptr <http.Response> result = default, http.Header snapHeader = default, bool wroteHeader = default)
 {
     this.Code        = Code;
     this.HeaderMap   = HeaderMap;
     this.Body        = Body;
     this.Flushed     = Flushed;
     this.result      = result;
     this.snapHeader  = snapHeader;
     this.wroteHeader = wroteHeader;
 }