Click or drag to resize
WebRequestExtensions Class
Provides extension methods for asynchronous operations on WebRequest objects.
Inheritance Hierarchy
SystemObject
  Rackspace.ThreadingWebRequestExtensions

Namespace: Rackspace.Threading
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public static class WebRequestExtensions

The WebRequestExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetRequestStreamAsync
Returns a Stream for writing data to the Internet resource as an asynchronous operation.
Public methodStatic memberGetResponseAsync(WebRequest)
Returns a response to an Internet request as an asynchronous operation.
Public methodStatic memberGetResponseAsync(WebRequest, CancellationToken)
Returns a response to an Internet request as an asynchronous operation.
Public methodStatic memberGetResponseAsync(WebRequest, Boolean, CancellationToken)
Returns a response to an Internet request as an asynchronous operation.
Top
Version Information

.NET for Windows Store apps

Supported in: Windows 8

.NET Framework

Supported in: 4.5, 4.0, 3.5

Portable Class Library

Supported in: Portable Class Library (Legacy), Portable Class Library

Threading Library

Supported in: 2.1, 2.0, 1.1, 1.0
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also