You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently mobileproxy.RunProxy returns a mobileproxy.Proxy with a address getter, which returns a host:port string.
However, most code to configure the network stack needs separate host string and port number. This means the client has to split the string, and convert the port to number.
To make it easier on the client, we should provide Proxy.host() and Proxy.port() instead.
Or perhaps return an Address type with those methods.
The text was updated successfully, but these errors were encountered:
Currently
mobileproxy.RunProxy
returns amobileproxy.Proxy
with aaddress
getter, which returns a host:port string.However, most code to configure the network stack needs separate host string and port number. This means the client has to split the string, and convert the port to number.
To make it easier on the client, we should provide
Proxy.host()
andProxy.port()
instead.Or perhaps return an
Address
type with those methods.The text was updated successfully, but these errors were encountered: