1

较新的 102 版本打破了我的要求 :(

这不管用...

client.ExecuteAsync<Resource>(request, (response) => {
    var resource = response.Data;
});

现在有人知道怎么用了吗?文档很旧:(

4

1 回答 1

0

The updated version as of 102.1 for wp7 looks like this.

// async with deserialization
var asyncHandle = client.ExecuteAsync(request, response => {
    Console.WriteLine(response.Data.Name);
});

and yes it is now updated on the site
coincidentally under the account of the same name as the guy in the comments.
@John Sheehan thanks for RestSharp https://github.com/johnsheehan/RestSharp

于 2011-09-27T01:31:51.827 回答