public IHttpResponse Respond(HttpCall call) { if (WillRespond(call)) { return(InternalRespond(call)); } return(_nextResponder.Respond(call)); }
virtual public IHttpResponse ProcessCall(INetworkStreamWrapper socketWrapper) { _socketWrapper = socketWrapper; _socketWrapper.SkipByteCount(_verbLength + 1); var httpCall = new HttpCall() { ServerSettings = ServerSettings, RequestHeader = GetHeaderFromSocket(), RawRequestBody = GetRequestBodyFromSocket() }; return(_firstCallResponder.Respond(httpCall)); }