GetUrl() public method

public GetUrl ( ) : string
return string
        private static HttpRequestMessage GetHttpRequest(HttpRequestItem item)
        {
            var request = new HttpRequestMessage(new HttpMethod(item.Method.ToString()), item.GetUrl());

            if (!item.Referrer.IsNullOrEmpty())
            {
                request.Headers.Add(HttpConstants.Referrer, item.Referrer);
            }

            switch (item.Method)
            {
            case HttpMethodType.Post:
                request.Content = new StringContent(item.GetPostString(), item.EncodingType, item.ContentType);
                break;

            case HttpMethodType.Get:
                break;

            default:
                break;
            }
            return(request);
        }
        private static HttpRequestMessage GetHttpRequest(HttpRequestItem item)
        {
            var request = new HttpRequestMessage(new HttpMethod(item.Method.ToString()), item.GetUrl());
            if (!item.Referrer.IsNullOrEmpty())
            {
                request.Headers.Add(HttpConstants.Referrer, item.Referrer);
            }

            switch (item.Method)
            {
                case HttpMethodType.Post:
                request.Content = new StringContent(item.GetPostString(), item.EncodingType, item.ContentType);
                break;
                case HttpMethodType.Get:
                break;
                default:
                break;
            }
            return request;
        }