C# Class Sharpen.HttpURLConnection

Inheritance: Sharpen.URLConnection
Show file Open project: Icenium/ngit Class Usage Examples

Private Properties

Property Type Description
HttpURLConnection System

Public Methods

Method 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

Method Description
HttpURLConnection ( Uri uri, Proxy p ) : System

Method Details

GetContentLength() public method

public GetContentLength ( ) : int
return int

GetContentType() public method

public GetContentType ( ) : string
return string

GetHeaderField() public method

public GetHeaderField ( string header ) : string
header string
return string

GetHeaders() public method

public GetHeaders ( ) : WebHeaderCollection
return System.Net.WebHeaderCollection

GetInputStream() public method

public GetInputStream ( ) : InputStream
return InputStream

GetOutputStream() public method

public GetOutputStream ( ) : OutputStream
return OutputStream

GetRequestMethod() public method

public GetRequestMethod ( ) : string
return string

GetResponseCode() public method

public GetResponseCode ( ) : int
return int

GetResponseMessage() public method

public GetResponseMessage ( ) : string
return string

GetURL() public method

public GetURL ( ) : Uri
return System.Uri

SetChunkedStreamingMode() public method

public SetChunkedStreamingMode ( int n ) : void
n int
return void

SetConnectTimeout() public method

public SetConnectTimeout ( int ms ) : void
ms int
return void

SetDoOutput() public method

public SetDoOutput ( bool dooutput ) : void
dooutput bool
return void

SetFixedLengthStreamingMode() public method

public SetFixedLengthStreamingMode ( int len ) : void
len int
return void

SetInstanceFollowRedirects() public method

public SetInstanceFollowRedirects ( bool redirects ) : void
redirects bool
return void

SetReadTimeout() public method

public SetReadTimeout ( int ms ) : void
ms int
return void

SetRequestMethod() public method

public SetRequestMethod ( string method ) : void
method string
return void

SetRequestProperty() public method

public SetRequestProperty ( string key, string value ) : void
key string
value string
return void

SetUseCaches() public method

public SetUseCaches ( bool u ) : void
u bool
return void