C# Класс GeoIQ.Net.GeoComWebClient

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Headers string>.Dictionary
WebReq System.Net.HttpWebRequest

Открытые методы

Метод Описание
Delete ( string url, string userName, string password, string content ) : ResponseEventArgs
GeoComWebClient ( ) : System
GetCookie ( string url, string userName, string password ) : string
OnGeoComResponseReceived ( object geoComWebClient, ResponseEventArgs response ) : void
Post ( string url, string userName, string password, string contentType, string data ) : string

Executes an HTTP POST command and retrives the information. This function will automatically include a "source" parameter if the "Source" property is set.

Put ( string url, string data ) : ResponseEventArgs
PutAsync ( string url, string data ) : void
UploadFiles ( string url, string files ) : ResponseEventArgs
UploadFilesAsync ( string url, string files ) : void

Приватные методы

Метод Описание
GetResponseBack ( IAsyncResult asynchronousResult ) : void
addHeaders ( ) : void
copyStream ( Stream input, Stream output ) : void
getByteArray ( Stream s ) : byte[]
getFilesMemoryStream ( string files, string boundary ) : Stream
getFilesMemoryStream ( Stream result, string files, string boundary ) : void
getOverlayDictionary ( ) : string>.Dictionary
getOverlayType ( string file ) : string
getWildHeaders ( string filename, string boundary ) : string
hasAuthenticationHeader ( ) : void

Описание методов

Delete() публичный Метод

public Delete ( string url, string userName, string password, string content ) : ResponseEventArgs
url string
userName string
password string
content string
Результат ResponseEventArgs

GeoComWebClient() публичный Метод

public GeoComWebClient ( ) : System
Результат System

GetCookie() публичный Метод

public GetCookie ( string url, string userName, string password ) : string
url string
userName string
password string
Результат string

OnGeoComResponseReceived() публичный Метод

public OnGeoComResponseReceived ( object geoComWebClient, ResponseEventArgs response ) : void
geoComWebClient object
response ResponseEventArgs
Результат void

Post() публичный Метод

Executes an HTTP POST command and retrives the information. This function will automatically include a "source" parameter if the "Source" property is set.
public Post ( string url, string userName, string password, string contentType, string data ) : string
url string The URL to perform the POST operation
userName string The username to use with the request
password string The password to use with the request
contentType string
data string The data to post
Результат string

Put() публичный Метод

public Put ( string url, string data ) : ResponseEventArgs
url string
data string
Результат ResponseEventArgs

PutAsync() публичный Метод

public PutAsync ( string url, string data ) : void
url string
data string
Результат void

UploadFiles() публичный Метод

public UploadFiles ( string url, string files ) : ResponseEventArgs
url string
files string
Результат ResponseEventArgs

UploadFilesAsync() публичный Метод

public UploadFilesAsync ( string url, string files ) : void
url string
files string
Результат void

Описание свойств

Headers публичное свойство

public Dictionary Headers
Результат string>.Dictionary

WebReq публичное свойство

public HttpWebRequest,System.Net WebReq
Результат System.Net.HttpWebRequest