mrs_plugin/services.py
def prompt_for_service_protocol(default=None):
    """Prompts the user for the supported service protocols

    Returns:
        The service protocols as str
    """

    protocols = core.prompt_for_list_item(
        item_list=[
            "HTTP", "HTTPS",
            # "WEBSOCKET VIA HTTP", "WEBSOCKET VIA HTTPS"
        ],
        prompt_caption=(
            "Please select the protocol(s) the service should support "
            f"[{default if default else 'HTTP,HTTPS'}]: "),
        prompt_default_value=default if default else 'HTTP,HTTPS',
        print_list=True,
        allow_multi_select=True)

    return ','.join(protocols)
Prompts the user for the supported service protocols

    Returns:
        The service protocols as str
    
Prompts the user for the supported service protocols
Prompts the user for the supported service protocols
def prompt_for_service_protocol(default=None):
    protocols = core.prompt_for_list_item(
        item_list=[
            "HTTP", "HTTPS",
        ],
        prompt_caption=(
            "Please select the protocol(s) the service should support "
            f"[{default if default else 'HTTP,HTTPS'}]: "),
        prompt_default_value=default if default else 'HTTP,HTTPS',
        print_list=True,
        allow_multi_select=True)
    return ','.join(protocols)
def prompt_for_service_protocol ( default = None ) : protocols = core . prompt_for_list_item ( item_list = [ "HTTP" , "HTTPS" , ] , prompt_caption = ( "Please select the protocol(s) the service should support " f"[{default if default else 'HTTP,HTTPS'}]: " ) , prompt_default_value = default if default else 'HTTP,HTTPS' , print_list = True , allow_multi_select = True ) return ',' . join ( protocols )
Prompts the user for the supported service protocols
Prompts the user for the supported service protocols
"""Prompts the user for the supported service protocols

    Returns:
        The service protocols as str
    """ # "WEBSOCKET VIA HTTP", "WEBSOCKET VIA HTTPS"
The service protocols as str
The service protocols as str
default