I would suggest we define host & port separately, that way you don't have to parse the URL to break down these two fields.
When using cleos, you need to define --host & --port params, if we combine both host & port together one would need to split the URL to extract those details and possibly assume port 443/80.
I would suggest we define
host
&port
separately, that way you don't have to parse the URL to break down these two fields.When using
cleos
, you need to define--host
&--port
params, if we combine both host & port together one would need to split the URL to extract those details and possibly assume port 443/80.Now
Propose