ISyndicationClient ISyndicationClient ISyndicationClient ISyndicationClient ISyndicationClient Interface

Definition

Encapsulates the data and methods needed to retrieve feeds from a URI asynchronously. It supports authentication.

public : interface ISyndicationClient
struct winrt::Windows::Web::Syndication::ISyndicationClient
public interface ISyndicationClient
Public Interface ISyndicationClient
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

BypassCacheOnRetrieve BypassCacheOnRetrieve BypassCacheOnRetrieve BypassCacheOnRetrieve BypassCacheOnRetrieve

Gets or sets a Boolean that indicates whether cache will be bypassed when retrieving the feed.

MaxResponseBufferSize MaxResponseBufferSize MaxResponseBufferSize MaxResponseBufferSize MaxResponseBufferSize

Gets or sets the maximum number of bytes to buffer when receiving a response from a server.

ProxyCredential ProxyCredential ProxyCredential ProxyCredential ProxyCredential

Gets or sets the credentials to use when making requests using a proxy.

ServerCredential ServerCredential ServerCredential ServerCredential ServerCredential

Gets or sets the credentials to use when making requests to the server.

Timeout Timeout Timeout Timeout Timeout

Gets or sets the maximum amount of time, in milliseconds, to wait for any of the asynchronous operations to complete. If the operation is not complete within this amount of time, it will fail with a status code indicating that it timed out.

Methods

RetrieveFeedAsync(Uri) RetrieveFeedAsync(Uri) RetrieveFeedAsync(Uri) RetrieveFeedAsync(Uri) RetrieveFeedAsync(Uri)

Initiates an asynchronous operation to download the syndication feed from the given URI. This method instantiates a SyndicationFeed object from the feed string, which can be in one of the formats specified in SyndicationFormat.

SetRequestHeader(String, String) SetRequestHeader(String, String) SetRequestHeader(String, String) SetRequestHeader(String, String) SetRequestHeader(String, String)

Sets an HTTP header for the request. This method can be called multiple times to set multiple headers. When the same header is set multiple times, the values will be concatenated and separated by ",".

See Also