code: def init(self):
          
          if not self.export_enable:
              return None
          # Build the RESTful URL where the stats will be posted
          url = '{}://{}:{}{}'.format(self.protocol,
                                      self.host,
                                      self.port,
                                      self.path)
          logger.info(
              "Stats will be exported to the RESTful endpoint {}".format(url))
          return url
docs: Init the connection to the RESTful server.