Beispiel #1
0
 public NetHttpContext(NetHttpRequest request, NetHttpResponse response)
 {
     Init(request, response);
     request.Context  = this;
     response.Context = this;
 }
Beispiel #2
0
 private void Init(NetHttpRequest request, NetHttpResponse response)
 {
     _request      = request;
     _response     = response;
     _utcTimestamp = DateTime.UtcNow;
 }