Jakub wrote:From the "as" keyword, it looks like Kotlin ...
try {[...]
val url = URL(destinationUrl)
httpsURLConnection =
url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
And this code is not PHP but looks like JavaScript.
Arno Welzel wrote:
Jakub wrote:From the "as" keyword, it looks like Kotlin ...
try {[...]
val url = URL(destinationUrl)
httpsURLConnection =
url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
And this code is not PHP but looks like JavaScript.
Andy Burns wrote:Unfortunately Jakub has a habit of drive-by questions with no follow up, that's quite a long example to expect someone to grok and respond to ...
Arno Welzel wrote:
Jakub wrote:From the "as" keyword, it looks like Kotlin ...
try {[...]
val url = URL(destinationUrl)
httpsURLConnection =
url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
And this code is not PHP but looks like JavaScript.
Yes, you're right. Seems to be Kotlin and thus more on-topic here again.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,118 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 40:11:11 |
| Calls: | 14,341 |
| Calls today: | 1 |
| Files: | 186,357 |
| D/L today: |
24,608 files (7,968M bytes) |
| Messages: | 2,533,023 |