C# Class IronPigeon.Providers.RelayCloudBlobStorageProvider

Inheritance: ICloudBlobStorageProvider, IEndpointInboxFactory
Mostrar archivo Open project: AArnott/IronPigeon Class Usage Examples

Public Methods

Method Description
CreateInboxAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

Creates an inbox at a message relay service.

RelayCloudBlobStorageProvider ( ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

RelayCloudBlobStorageProvider ( HttpClient httpClient ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

RelayCloudBlobStorageProvider ( Uri postUrl ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType = null, string contentEncoding = null, IProgress bytesCopiedProgress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Method Details

CreateInboxAsync() public method

Creates an inbox at a message relay service.
public CreateInboxAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task

RelayCloudBlobStorageProvider() public method

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( ) : System
return System

RelayCloudBlobStorageProvider() public method

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient The HTTP client.
return System

RelayCloudBlobStorageProvider() public method

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( Uri postUrl ) : System
postUrl System.Uri The URL to post blobs to.
return System

UploadMessageAsync() public method

public UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType = null, string contentEncoding = null, IProgress bytesCopiedProgress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
content Stream
expirationUtc System.DateTime
contentType string
contentEncoding string
bytesCopiedProgress IProgress
cancellationToken System.Threading.CancellationToken
return Task