public HttpContext(IHttpRequest request) { CoreValidator.TrowIfNull(request, nameof(request)); this.request = request; }
public void Add(HttpHeader header) { CoreValidator.TrowIfNull(header, nameof(header)); headers[header.Key] = header; }