ReadSoapHeader method

Future<void> ReadSoapHeader(
  1. EwsXmlReader reader
)
Reads a single SOAP header. EwsXmlReader

Implementation

Future<void> ReadSoapHeader(EwsXmlReader reader) async {
  // Is this the ServerVersionInfo?
  if (reader.IsStartElementWithNamespace(
      XmlNamespace.Autodiscover, XmlElementNames.ServerVersionInfo)) {
    this._service.ServerInfo = await this.ReadServerVersionInfo(reader);
  }
}