Table of Contents

Interface IAttachmentResource

Namespace
Mailtrap.Attachments
Assembly
Mailtrap.Abstractions.dll

Represents message attachment resource.

public interface IAttachmentResource : IRestResource
Inherited Members

Methods

GetDetails(CancellationToken)

Gets details of the message attachment, represented by the current resource instance.

Task<EmailAttachment> GetDetails(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<EmailAttachment>

Requested message attachment details.