草庐IT

SkillIntraining

全部标签

c# - 组合 URI 和路径

我正在retrofit一个应用程序以使用PHPHTTP代理(用于缓存)而不是实际的API服务器,该应用程序当前将服务器URI和路径与代码结合在一起:methodUri=newUri(apiUri,method.Path)地点:apiUri="http://api.eve-online.com/"(System.Uri对象)method.Path="/char/SkillIntraining.xml.aspx"(字符串)上面语句的结果是"http://api.eve-online.com/char/SkillIntraining.xml.aspx"(System.UriObject)要使