ParseResponseWithHeaders method

  1. @override
Future<Object> ParseResponseWithHeaders(
  1. EwsServiceXmlReader reader,
  2. WebHeaderCollection responseHeaders
)
override
Parses the response. The reader. Response headers

Implementation

@override
Future<Object> ParseResponseWithHeaders(
  EwsServiceXmlReader reader,
  WebHeaderCollection responseHeaders,
) async {
  SetUserPhotoResponse response = SetUserPhotoResponse();
  await response.LoadFromXml(reader, XmlElementNames.SetUserPhotoResponse);
  response.ReadHeader(responseHeaders);
  return response;
}