예제 #1
0
 internal HttpListenerContext(HttpConnection cnc)
 {
     this.cnc = cnc;
     request  = new HttpListenerRequest(this);
     response = new HttpListenerResponse(this);
 }
예제 #2
0
 internal ResponseStream(WritableBuffer stream, HttpListenerResponse response, HttpConnection conn, bool ignore_errors)
 {
     this.response      = response;
     this.ignore_errors = ignore_errors;
     this.stream        = stream;
     this.conn          = conn;
 }