Open lublak opened 3 months ago
I wonder why godot doesn't have such a class already.
@kanimaru I think, most of the time, it's not needed in game development. In which game do you need a URL parser? Okay yes, now it would be useful xD
All games with multiplayer support via REST? :D
Touché! xD but I think with the native Godot client you could use the full URL address without splitting it into host and path. So most of the time, nobody needs to split it.
Currently the code uses the same regex multiple times:
a better solution could be a "URL" class.
just a quick note: