Splits a URL (or similar) string into a part containing its scheme and one containing the rest. E.g., http://test.com/ results in { scheme: 'http://', rest: 'test.com/' }.
http://test.com/
{ scheme: 'http://', rest: 'test.com/' }
String to parse.
Splits a URL (or similar) string into a part containing its scheme and one containing the rest. E.g.,
http://test.com/
results in{ scheme: 'http://', rest: 'test.com/' }
.