Export (0) Print
Expand All

WebRequest.AsyncGetResponse Extension Method (F#)

Returns an asynchronous computation that, when run, will wait for a response to the given WebRequest.

Namespace/Module Path: Microsoft.FSharp.Control.WebExtensions

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
type System.Net.WebRequest with
  member AsyncGetResponse : unit -> Async<WebResponse>

// Usage:
webRequest.AsyncGetResponse ()

An asynchronous computation (Async object) that waits for response to the web request.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 2.0

© 2014 Microsoft