Proposal: Add Uri/Url Type to Kotlin Standard Library#415
Proposal: Add Uri/Url Type to Kotlin Standard Library#415iseki0 wants to merge 5 commits intoKotlin:mainfrom
Conversation
|
It would be great to have it in the standard library. But I feel that it must be both URI and URL, it's very useful to know that it's an actual URL and it mostly should be used everywhere instead of more generic URI which rarely used correctly |
|
OK, maybe we can add both |
|
@gildor What do you think about add IP address types? Since the URI/URL might use IP address in the authority segment. |
|
@iseki0 I personally never had use case for this, but I'm curious about support in other languages. Distinguish between ipv4/v6 could be useful, but I feel that it's not a job for URL/uri to give IP information, but maybe I'm wrong |
Maybe you're right, it should be in network library |
|
@gildor Thank you for your reviewing, in the past serval days, I added more content into the proposal. Please review it again. |
No description provided.