C# Class OpenMetaverse.Http.CapsBase

Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Méthode Description
DownloadDataAsync ( HttpWebRequest request, int millisecondsTimeout, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : void
DownloadStringAsync ( Uri address, X509Certificate2 clientCert, int millisecondsTimeout, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest
UploadDataAsync ( Uri address, X509Certificate2 clientCert, string contentType, byte data, int millisecondsTimeout, OpenWriteEventHandler openWriteCallback, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest

Private Methods

Méthode Description
CapsBase ( ) : System
GetResponse ( IAsyncResult ar ) : void
OpenWrite ( IAsyncResult ar ) : void
SetupRequest ( Uri address, X509Certificate2 clientCert ) : HttpWebRequest
TimeoutCallback ( object state, bool timedOut ) : void

Method Details

DownloadDataAsync() public static méthode

public static DownloadDataAsync ( HttpWebRequest request, int millisecondsTimeout, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : void
request System.Net.HttpWebRequest
millisecondsTimeout int
downloadProgressCallback DownloadProgressEventHandler
completedCallback RequestCompletedEventHandler
Résultat void

DownloadStringAsync() public static méthode

public static DownloadStringAsync ( Uri address, X509Certificate2 clientCert, int millisecondsTimeout, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest
address System.Uri
clientCert System.Security.Cryptography.X509Certificates.X509Certificate2
millisecondsTimeout int
downloadProgressCallback DownloadProgressEventHandler
completedCallback RequestCompletedEventHandler
Résultat System.Net.HttpWebRequest

UploadDataAsync() public static méthode

public static UploadDataAsync ( Uri address, X509Certificate2 clientCert, string contentType, byte data, int millisecondsTimeout, OpenWriteEventHandler openWriteCallback, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest
address Uri
clientCert X509Certificate2
contentType string
data byte
millisecondsTimeout int
openWriteCallback OpenWriteEventHandler
downloadProgressCallback DownloadProgressEventHandler
completedCallback RequestCompletedEventHandler
Résultat HttpWebRequest