Beispiel #1
0
        /// a generic responder method
        public void Respond(Response response)
        {
            ProxySession.Request.RequestLocked = true;

            response.ResponseLocked   = true;
            response.ResponseBodyRead = true;

            ProxySession.Response = response;
            ProxyServer.HandleHttpSessionResponse(this);
        }
Beispiel #2
0
        /// a generic responder method
        public async Task Respond(Response response)
        {
            WebSession.Request.RequestLocked = true;

            response.ResponseLocked   = true;
            response.ResponseBodyRead = true;

            WebSession.Response = response;

            await ProxyServer.HandleHttpSessionResponse(this).ConfigureAwait(false);
        }