C# Class IronPigeon.Providers.RelayCloudBlobStorageProvider

Inheritance: ICloudBlobStorageProvider, IEndpointInboxFactory
Afficher le fichier Open project: AArnott/IronPigeon Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

RelayCloudBlobStorageProvider() public méthode

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( ) : System
Résultat System

RelayCloudBlobStorageProvider() public méthode

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

RelayCloudBlobStorageProvider() public méthode

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

UploadMessageAsync() public méthode

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
Résultat Task