Url
Set the URL of the request
Can be type of: String
, Ktor Url
, Ktor UrlBuilder
. More detail, see Url.takeFrom
@GET
suspend fun request(@Url url: String): List<Comment>
@POST
suspend fun request(@Url url: Url): Comment
@PUT
suspend fun request(@Url builder: UrlBuilder): Comment
Content copied to clipboard