exchangelib.autodiscover.protocol API documentation

# Module `exchangelib.autodiscover.protocol`

Expand source code

    from ..protocol import BaseProtocol

    class AutodiscoverProtocol(BaseProtocol):
        """Protocol which implements the bare essentials for autodiscover."""

        TIMEOUT = 10  # Seconds

        def __str__(self):
            return '''\
    Autodiscover endpoint: %s
    Auth type: %s''' % (
                self.service_endpoint,
                self.auth_type,
            )

## Classes

`class AutodiscoverProtocol (config)`

  Protocol which implements the bare essentials for autodiscover.

  Expand source code

      class AutodiscoverProtocol(BaseProtocol):
          """Protocol which implements the bare essentials for autodiscover."""

          TIMEOUT = 10  # Seconds

          def __str__(self):
              return '''\
      Autodiscover endpoint: %s
      Auth type: %s''' % (
                  self.service_endpoint,
                  self.auth_type,
              )

  ### Ancestors

  - BaseProtocol

  ### Class variables

  `var TIMEOUT`

  ### Inherited members

  - `BaseProtocol`:
    - `HTTP_ADAPTER_CLS`
    - `decrease_poolsize`
    - `increase_poolsize`