C# Класс Sharpen.HttpURLConnection

Наследование: Sharpen.URLConnection
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
HttpURLConnection System

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

Метод Описание
GetContentLength ( ) : int
GetContentType ( ) : string
GetHeaderField ( string header ) : string
GetHeaders ( ) : WebHeaderCollection
GetInputStream ( ) : InputStream
GetOutputStream ( ) : OutputStream
GetRequestMethod ( ) : string
GetResponseCode ( ) : int
GetResponseMessage ( ) : string
GetURL ( ) : Uri
SetChunkedStreamingMode ( int n ) : void
SetConnectTimeout ( int ms ) : void
SetDoOutput ( bool dooutput ) : void
SetFixedLengthStreamingMode ( int len ) : void
SetInstanceFollowRedirects ( bool redirects ) : void
SetReadTimeout ( int ms ) : void
SetRequestMethod ( string method ) : void
SetRequestProperty ( string key, string value ) : void
SetUseCaches ( bool u ) : void

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

Метод Описание
HttpURLConnection ( Uri uri, Proxy p ) : System

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

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

public GetContentLength ( ) : int
Результат int

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

public GetContentType ( ) : string
Результат string

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

public GetHeaderField ( string header ) : string
header string
Результат string

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

public GetHeaders ( ) : WebHeaderCollection
Результат System.Net.WebHeaderCollection

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

public GetInputStream ( ) : InputStream
Результат InputStream

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

public GetOutputStream ( ) : OutputStream
Результат OutputStream

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

public GetRequestMethod ( ) : string
Результат string

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

public GetResponseCode ( ) : int
Результат int

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

public GetResponseMessage ( ) : string
Результат string

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

public GetURL ( ) : Uri
Результат System.Uri

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

public SetChunkedStreamingMode ( int n ) : void
n int
Результат void

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

public SetConnectTimeout ( int ms ) : void
ms int
Результат void

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

public SetDoOutput ( bool dooutput ) : void
dooutput bool
Результат void

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

public SetFixedLengthStreamingMode ( int len ) : void
len int
Результат void

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

public SetInstanceFollowRedirects ( bool redirects ) : void
redirects bool
Результат void

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

public SetReadTimeout ( int ms ) : void
ms int
Результат void

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

public SetRequestMethod ( string method ) : void
method string
Результат void

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

public SetRequestProperty ( string key, string value ) : void
key string
value string
Результат void

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

public SetUseCaches ( bool u ) : void
u bool
Результат void