def wep_check_all_params_against_set(valid_params: set, request: dict) -> set:
    """
    Check an entire request against a set of valid parameters.

    :param valid_params: a set of valid parameters
    :param request: the request object containing zero or more parameters
    :return: The missing parameters, as a set, if the request is invalid.
    """
    set_diff = valid_params.difference(set(request.keys()))
    return set_diff