code: def add_all(application, project_id, control_client,
              loader=service.Loaders.FROM_SERVICE_MANAGEMENT):
      
      return ConfigFetchWrapper(application, project_id, control_client, loader)
docs: Adds all endpoints middleware to a wsgi application.
  
      Sets up application to use all default endpoints middleware.
  
      Example:
  
        >>> application = MyWsgiApp()  # an existing WSGI application
        >>>
        >>> # the name of the controlled service
        >>> service_name = 'my-service-name'
        >>>
        >>> # A GCP project  with service control enabled
        >>> project_id = 'my-project-id'
        >>>
        >>> # wrap the app for service control
        >>> from endpoints_management.control import wsgi
        >>> control_client = client.Loaders.DEFAULT.load(service_name)
        >>> control_client.start()
        >>> wrapped_app = add_all(application, project_id, control_client)
        >>>
        >>> # now use wrapped_app in place of app
  
      Args:
         application: the wrapped wsgi application
         project_id: the project_id thats providing service control support
         control_client: the service control client instance
         loader (:class:`endpoints_management.control.service.Loader`): loads the service
            instance that configures this instance's behaviour