ToUri() private method

Create URI for quering
private ToUri ( ) : Uri
return Uri
コード例 #1
0
        public async Task <DistanceMatrixResponse> GetResponseAsync(DistanceMatrixRequest request)
        {
            var url = new Uri(baseUri, request.ToUri());

            return(await http.GetAsync <DistanceMatrixResponse>(url));
        }
コード例 #2
0
        public DistanceMatrixResponse GetResponse(DistanceMatrixRequest request)
        {
            var url = new Uri(this.BaseUri, request.ToUri());

            return(Internal.Http.Get(url).As <DistanceMatrixResponse>());
        }
コード例 #3
0
        public DistanceMatrixResponse GetResponse(DistanceMatrixRequest request)
        {
            var url = new Uri(baseUri, request.ToUri());

            return(http.Get <DistanceMatrixResponse>(url));
        }
コード例 #4
0
		public DistanceMatrixResponse GetResponse(DistanceMatrixRequest request)
		{
			var url = new Uri(this.BaseUri, request.ToUri());
			return Internal.Http.Get(url).As<DistanceMatrixResponse>();
		}