SetContentType method

void SetContentType(
  1. IEwsHttpWebRequest request
)
override
Sets the type of the content. The request.

Implementation

//        @override
void SetContentType(IEwsHttpWebRequest request) {
  request.ContentType = "text/xml; charset=utf-8";
  request.Accept = "text/xml";
}