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