append Path Segments
向 URL 的路径部分追加一个或多个路径段。 例如,在 http://example.com/api 上调用 appendPathSegments(listOf("v1", "users")) 将得到 `http://example.com/api/v1/users`。
Return
返回自身(URLBuilder),以支持链式调用。
Parameters
path Segments
要追加的路径段列表。
向 URL 的路径部分追加一个或多个路径段。 例如,在 http://example.com/api 上调用 appendPathSegments(listOf("v1", "users")) 将得到 `http://example.com/api/v1/users`。
返回自身(URLBuilder),以支持链式调用。
要追加的路径段列表。