コード例 #1
0
 public HttpListenerContextAdapter(HttpListenerContext context)
 {
     _context = context;
     Request = new HttpListenerRequestAdapter(_context.Request);
     Response = new HttpListenerResponseAdapter(_context.Response);
 }
コード例 #2
0
 public HttpListenerContextAdapter(HttpListenerContext context)
 {
     _context = context;
     Request  = new HttpListenerRequestAdapter(_context.Request);
     Response = new HttpListenerResponseAdapter(_context.Response);
 }