Windows Live
PluginHttpRequest Class

Provides the ability to execute HTTP requests that utilize the (optional) Web Proxy settings specified by the user in the Web Proxy Preferences panel. Also enables reading from and writing to the Internet cache as part of request processing.

Syntax

public class PluginHttpRequest : object
Public Properties

Property Description

AllowAutoRedirect

Automatically follow host redirects of the request (defaults to True).

CacheLevel

Cache level for HTTP request.

ContentType

Content-type of post data (this value must be specified if post data is included in the request).

InternetConnectionAvailable

Checks whether an Internet connection is currently available.

PostData

Post data to send along with the request.

Public Methods

Method Description

Constructor

Initialize a new HTTP request.

(Cache Level) Constructor

Initialize a new HTTP request with the specified cache level.

GetResponse

Retrieve the resource (with no timeout).

GetResponse (Timeout)

Retrieve the resource with the specified timeout (in ms).

GetWriterProxy

Get the IWebProxy used by Windows Live Writer for HTTP requests.

Remarks

Inherits from:

System.Object

WindowsLive.Writer.Api.PluginHttpRequest

Requirements

Assembly: windowslive.writer.api.dll

Namespace

WindowsLive.Writer.Api

See Also

Other Resources

Windows Live Writer Content Source Plugin Reference

Page view tracker