public HttpRequestData get_request_data() { return(new HttpRequestData { FullUrl = _request.FullUrl(), HttpMethod = _request.HttpMethod(), RawUrl = _request.RawUrl(), RelativeUrl = _request.RelativeUrl() }); }
public void Invoke() { var features = _fubuRequest.Get <TInput>().GetFeatures(); if (features.Any(x => !_featureValidator.IsActive(x))) { _handle404.Handle(_currentHttpRequest.FullUrl()); return; } if (_innerBehavior != null) { _innerBehavior.Invoke(); } }