IAsyncHttpWebRequest 介面

定義

HttpWeb 要求包裝函式介面。

public interface class IAsyncHttpWebRequest
public interface IAsyncHttpWebRequest
type IAsyncHttpWebRequest = interface
Public Interface IAsyncHttpWebRequest
衍生

屬性

CachePolicy

取得或設定快取原則

ContentType

取得或設定內容類型。 例如,“application/x-www-form-urlencoded”

Method

取得或設定 (GET、HEAD、POST、PUT、DELETE、TRACE 或 OPTIONS)

Timeout

取得或設定回應的逾時

Url

取得目標 URL

方法

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

新增 HTTP 標頭。

GetResponseAsync()

以異步方式傳送要求並取得回應。

適用於