def generate_uri(host, port, path):
    """
    Generates URI string for connection.

    Arguments
    ---------
        host: Host string
        port: Port string/number
        path: Path string without a starting '/'

    Returns
    -------
        A valid URI string.

    """
    return "ws://{host}:{port}/{path}".format(
        host=host,
        port=port,
        path=path,
    )