예제 #1
0
        public bool OnHttpExtensionRequest(HtcHttpContext httpContext, string filename, string extension)
        {
            if (extension != ".php")
            {
                return(true);
            }
            var response = PhpRequest.Request(httpContext, filename, 10000);

            return(response);
        }
예제 #2
0
        public async Task OnHttpExtensionRequest(HttpContext httpContext, string filename, string extension)
        {
            if (extension != ".php")
            {
                return;
            }
            await PhpRequest.Request(httpContext, filename, Timeout);

            return;
        }