Example #1
0
 /// <summary>
 /// Serializes obj to XML format and adds it to the request body.
 /// </summary>
 /// <param name="body">The object to serialize</param>
 /// <returns>this HttpProvider</returns>
 public HttpProvider WithXmlBody(object body)
 {
     _request.AddXmlBody(body);
     return(this);
 }