Class AtomPubClient

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(serverCredential: PasswordCredential): AtomPubClient

Parameters

Returns

AtomPubClient

constructor(): AtomPubClient

Returns

AtomPubClient

Properties

public bypassCacheOnRetrieve: boolean

public maxResponseBufferSize: number

public proxyCredential: PasswordCredential

public serverCredential: PasswordCredential

public timeout: number

Methods

public cancelAsyncOperations()

public createMediaResourceAsync(uri: Uri, mediaType: string, description: string, mediaStream: IInputStream): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public createResourceAsync(uri: Uri, description: string, item: SyndicationItem): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public deleteResourceAsync(uri: Uri): IAsyncActionWithProgress

Parameters

Returns

IAsyncActionWithProgress

public deleteResourceItemAsync(item: SyndicationItem): IAsyncActionWithProgress

Parameters

Returns

IAsyncActionWithProgress

public retrieveFeedAsync(uri: Uri): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public retrieveMediaResourceAsync(uri: Uri): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public retrieveResourceAsync(uri: Uri): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public retrieveServiceDocumentAsync(uri: Uri): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress

public setRequestHeader(name: string, value: string)

Parameters

  • name: string
  • value: string

public updateMediaResourceAsync(uri: Uri, mediaType: string, mediaStream: IInputStream): IAsyncActionWithProgress

Parameters

Returns

IAsyncActionWithProgress

public updateResourceAsync(uri: Uri, item: SyndicationItem): IAsyncActionWithProgress

Parameters

Returns

IAsyncActionWithProgress

public updateResourceItemAsync(item: SyndicationItem): IAsyncActionWithProgress

Parameters

Returns

IAsyncActionWithProgress