-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Add Uri/Url Type to Kotlin Standard Library #415
base: master
Are you sure you want to change the base?
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.