Beispiel #1
0
        public HttpResponse ExecuteAsString(HttpRequest request)
        {
            //raise the on before request event
            raiseOnBeforeHttpRequestEvent(request);

            UniHttpRequest uniRequest = ConvertRequest(request);
            HttpResponse   response   = ConvertResponse(uniRequest.asString());

            //raise the on after response event
            raiseOnAfterHttpResponseEvent(response);
            return(response);
        }
Beispiel #2
0
        public HttpResponse ExecuteAsString(HttpRequest request)
        {
            UniHttpRequest uniRequest = ConvertRequest(request);

            return(ConvertResponse(uniRequest.asString()));
        }