Content deleted Content added
→Asynchronous programming: Updated with task expressions. |
|||
Line 464:
let fetchUrlAsync (url:string) = // string -> Task<string>
task {
let! response = client.GetAsync(url)
let! content = response.Content.ReadAsStringAsync()
|