``` fun requestServerApi(url: String, timeout: Int...
# announcements
s
Copy code
fun requestServerApi(url: String, timeout: Int, vararg params: Any)
function declaration as above if I want to invoke it using named parameters, how to write the last parameter? like this:?
Copy code
requestServerApi(url = “user/login.php”, timeout = 30, params = “username”, “jack”, “password”, “a1b3c5d6”)