C# 클래스 SendGrid.Transport.Web

상속: ITransport
파일 보기 프로젝트 열기: advancedrei/sendgridplus-csharp

공개 메소드들

메소드 설명
DeliverAsync ( IMail message ) : System.Threading.Tasks.Task

Asynchronously delivers a message over SendGrid's Web interface.

GetInstance ( NetworkCredential credentials, bool https = true ) : Web

Factory method for Web transport of sendgrid messages

비공개 메소드들

메소드 설명
AddAttachments ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void

AddFormParams ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void

AttachFiles ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void
AttachFormParams ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void
CheckForErrors ( HttpResponseMessage response ) : void
CheckForErrorsAsync ( HttpResponseMessage response ) : System.Threading.Tasks.Task

Deliver ( IMail message ) : void
FetchFileBodies ( IMail message ) : IFile>>.List
FetchFormParams ( IMail message ) : string>>.List
FetchStreamingFileBodies ( IMail message ) : MemoryStream>>.List
FindErrorsInResponse ( Stream content ) : void
Web ( NetworkCredential credentials, bool https = true ) : System

Creates a new Web interface for sending mail. Preference is using the Factory method.

메소드 상세

DeliverAsync() 공개 메소드

Asynchronously delivers a message over SendGrid's Web interface.
public DeliverAsync ( IMail message ) : System.Threading.Tasks.Task
message IMail
리턴 System.Threading.Tasks.Task

GetInstance() 공개 정적인 메소드

Factory method for Web transport of sendgrid messages
public static GetInstance ( NetworkCredential credentials, bool https = true ) : Web
credentials System.Net.NetworkCredential SendGrid credentials for sending mail messages
https bool Use https?
리턴 Web