C# Class Sharpen.HttpURLConnection

Inheritance: Sharpen.URLConnection
Afficher le fichier Open project: Icenium/ngit Class Usage Examples

Private Properties

Свойство Type Description
HttpURLConnection System

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
HttpURLConnection ( Uri uri, Proxy p ) : System

Method Details

GetContentLength() public méthode

public GetContentLength ( ) : int
Résultat int

GetContentType() public méthode

public GetContentType ( ) : string
Résultat string

GetHeaderField() public méthode

public GetHeaderField ( string header ) : string
header string
Résultat string

GetHeaders() public méthode

public GetHeaders ( ) : WebHeaderCollection
Résultat System.Net.WebHeaderCollection

GetInputStream() public méthode

public GetInputStream ( ) : InputStream
Résultat InputStream

GetOutputStream() public méthode

public GetOutputStream ( ) : OutputStream
Résultat OutputStream

GetRequestMethod() public méthode

public GetRequestMethod ( ) : string
Résultat string

GetResponseCode() public méthode

public GetResponseCode ( ) : int
Résultat int

GetResponseMessage() public méthode

public GetResponseMessage ( ) : string
Résultat string

GetURL() public méthode

public GetURL ( ) : Uri
Résultat System.Uri

SetChunkedStreamingMode() public méthode

public SetChunkedStreamingMode ( int n ) : void
n int
Résultat void

SetConnectTimeout() public méthode

public SetConnectTimeout ( int ms ) : void
ms int
Résultat void

SetDoOutput() public méthode

public SetDoOutput ( bool dooutput ) : void
dooutput bool
Résultat void

SetFixedLengthStreamingMode() public méthode

public SetFixedLengthStreamingMode ( int len ) : void
len int
Résultat void

SetInstanceFollowRedirects() public méthode

public SetInstanceFollowRedirects ( bool redirects ) : void
redirects bool
Résultat void

SetReadTimeout() public méthode

public SetReadTimeout ( int ms ) : void
ms int
Résultat void

SetRequestMethod() public méthode

public SetRequestMethod ( string method ) : void
method string
Résultat void

SetRequestProperty() public méthode

public SetRequestProperty ( string key, string value ) : void
key string
value string
Résultat void

SetUseCaches() public méthode

public SetUseCaches ( bool u ) : void
u bool
Résultat void