WebServiceRequestBase class

A base class for web service requests.

public abstract class WebServiceRequestBase

Public Members

name description
Accept { get; set; } Gets or sets the value of the Accept HTTP header.
AdditionalHeaders { get; set; } Gets or sets the additional headers.
AllowsRequestContentCompression { get; set; } True if the request content compression is allowed.
Content { get; set; } Gets or sets the content.
DisableAutoRedirect { get; set; } True if HTTP redirects should not be followed automatically. If GetHttpClient is set, then this property is ignored.
IfMatch { get; set; } Gets or sets the If-Match header.
IfModifiedSince { get; set; } Gets or sets if modified since.
IfNoneMatch { get; set; } Gets or sets the If-None-Match header.
Method { get; set; } Gets or sets the method.
Range { get; set; } Gets or sets the byte range to be used by the Range header.
Referer { get; set; } Gets or sets the value of the Referer HTTP header.
RequestUri { get; } Gets the request URI.
Settings { get; set; } Gets or sets the settings.
Timeout { get; set; } Gets or sets the timeout. If GetHttpClient is set, then this property is ignored.
UserAgent { get; set; } Gets or sets the value of the User-agent HTTP header.

Protected Members

name description
WebServiceRequestBase(…) Initializes a new instance of the WebServiceRequestBase class.

See Also