nvflare.fuel.utils.url_utils module¶
- make_url(scheme: str, address, secure: bool) str[source]¶
Make a full URL based on specified info
- Parameters:
scheme – scheme of the url
address – host address. Multiple formats are supported: str: this is a string that contains host name and optionally port number (e.g. localhost:1234) dict: contains item “host” and optionally “port” tuple or list: contains 1 or 2 items for host and port
secure – whether secure connection is required
Returns: