WebServiceRequestUtility class

Utility methods for WebServiceRequest and WebServiceRequestBase.

public static class WebServiceRequestUtility

Public Members

name description
static WithAccept<TWebServiceRequest>(…) Sets the Accept of the WebServiceRequest.
static WithAcceptedStatusCodes<TWebServiceRequest>(…) Sets the AcceptedStatusCodes of the WebServiceRequest. (2 methods)
static WithAdditionalHeaders<TWebServiceRequest>(…) Adds to the Additional Headers of the WebServiceRequest.
static WithAuthorizationHeader<TWebServiceRequest>(…) Add authorization header to WebServiceRequestBase
static WithContent<TWebServiceRequest>(…) Sets the Content of the WebServiceRequest.
static WithContentCompression<TWebServiceRequest>(…) Allows request content compression. (2 methods)
static WithDeleteMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest to “DELETE”.
static WithHandler<TWebServiceResponse>(…) Adds to the Handlers of the WebServiceRequest.
static WithHeadMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest to “HEAD”.
static WithIfMatch<TWebServiceRequest>(…) Sets the IfMatch of the WebServiceRequest.
static WithIfModifiedSince<TWebServiceRequest>(…) Sets the IfModifiedSince of the WebServiceRequest.
static WithIfNoneMatch<TWebServiceRequest>(…) Sets the IfNoneMatch of the WebServiceRequest.
static WithMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest.
static WithPatchMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest to “PATCH”.
static WithPostMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest to “POST”.
static WithPutMethod<TWebServiceRequest>(…) Sets the Method of the WebServiceRequest to “PUT”.
static WithSettings<TWebServiceRequest>(…) Sets the Settings of the WebServiceRequest.
static WithTimeout<TWebServiceRequest>(…) Sets the Timeout of the WebServiceRequest.

See Also