x80486
08/28/2017, 12:48 AMclass Client(host: String = "localhost", port: Int = 50551, enableTls: Boolean = false)
. Now I would like to call the constructor
with a different port
, like: val client = HelloWorldClient(443)
.
Is there anything like a "wildcard" or something I can use that fills up the missing parameter? Something like val client = HelloWorldClient(_, 443)
...agomez
08/28/2017, 12:49 AMClient(port = 443)
x80486
08/28/2017, 12:51 AMagomez
08/28/2017, 12:53 AM