IAsyncHttpWebRequest Interface

Definition

HttpWeb request wrapper interface.

public interface class IAsyncHttpWebRequest
public interface IAsyncHttpWebRequest
type IAsyncHttpWebRequest = interface
Public Interface IAsyncHttpWebRequest
Derived

Properties

CachePolicy

Gets or sets cache policy

ContentType

Gets or sets content type. For example, "application/x-www-form-urlencoded"

Method

Gets or sets used method (GET, HEAD, POST, PUT, DELETE, TRACE, or OPTIONS)

Timeout

Gets or sets timeout for response

Url

Gets target Url

Methods

AddHeaders(IEnumerable<KeyValuePair<String,String>>)

Add HTTP headers.

GetResponseAsync()

Send request and get response back asynchronously.

Applies to