Method | Description | |
---|---|---|
AddHeader ( string name, string value ) : void |
Adds a HTTP header.
|
|
Close ( ) : void |
This method closes the WebResponse object.
|
|
GetDataStream ( ) : Stream |
Performs a HTTP-GET or HTTP-POST request and returns a datastream for reading.
|
|
HttpClientUtil ( ) : System |
Initializes a new instance of the HttpClientUtil class.
|
|
Reset ( ) : void |
This method resets all configurations.
|
public AddHeader ( string name, string value ) : void | ||
name | string | The name of the header |
value | string | The value of the header |
return | void |