public HttpResponseDelegate(bool prohibitBody, bool shouldKeepAlive, Action closeConnection) { state = new HttpResponseDelegateState(prohibitBody, shouldKeepAlive); this.closeConnection = closeConnection; }
public HttpResponseDelegate(bool prohibitBody, bool shouldKeepAlive, bool expectContinue, Action closeConnection) { state = HttpResponseDelegateState.Create(prohibitBody, shouldKeepAlive, expectContinue); this.closeConnection = closeConnection; }