/// <summary> /// Constructor /// </summary> /// <param name="path">Resource Path</param> /// <param name="parameters">Request parameter</param> protected HttpRequest(string path, ParameterMap parameters) { if (!path.IsEmpty()) Path = path; if (parameters != null) { string queryString = parameters.UrlEncode(); Path += "?" + queryString; } }
/// <summary> /// Constructor /// </summary> /// <param name="path">Resource Path</param> /// <param name="parameters">Request parameter</param> protected HttpRequest(string path, ParameterMap parameters) { if (!path.IsEmpty()) { Path = path; } if (parameters != null) { string queryString = parameters.UrlEncode(); Path += "?" + queryString; } }