Share via


AsyncHttpWebRequest Class

Definition

HttpWeb request wrapper

public ref class AsyncHttpWebRequest : Microsoft::VisualStudio::Utilities::Internal::IAsyncHttpWebRequest
public class AsyncHttpWebRequest : Microsoft.VisualStudio.Utilities.Internal.IAsyncHttpWebRequest
type AsyncHttpWebRequest = class
    interface IAsyncHttpWebRequest
Public Class AsyncHttpWebRequest
Implements IAsyncHttpWebRequest
Inheritance
AsyncHttpWebRequest
Implements

Constructors

AsyncHttpWebRequest(String)

Initializes a new instance of the AsyncHttpWebRequest class.

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