def __init__()

in shumway/__init__.py [0:0]


    def __init__(self, ffwd_host, ffwd_port, ffwd_path):
        if not ffwd_host.startswith("http") and ffwd_port == 443:
            ffwd_host = "https://" + ffwd_host
        elif not ffwd_host.startswith("http"):
            ffwd_host = "http://" + ffwd_host

        self._ffwd_url = "{}:{}".format(ffwd_host, ffwd_port)
        self._ffwd_url = self._ffwd_url + ffwd_path \
            if ffwd_path is not None else self._ffwd_url