C# Class OpenMetaverse.Http.CapsBase

Show file Open project: N3X15/VoxelSim Class Usage Examples

Public Methods

Method 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

Method 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 method

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

DownloadStringAsync() public static method

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
return System.Net.HttpWebRequest

UploadDataAsync() public static method

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
return HttpWebRequest