【发布时间】:2019-04-02 07:56:32
【问题描述】:
我希望在我的应用程序中使用 s3 的 aws sdk cpp async api。但是我无法找到相同的文档。我经历过https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/cpp/example_code/s3,但没有包含异步 api 的示例。
例如,我正在尝试使用 PutObjectAsync api。根据此处https://sdk.amazonaws.com/cpp/api/LATEST/class_aws_1_1_s3_1_1_s3_client.html#aee8d39c350c5bb66a8d1edcc18df2b78 给出的 api 参考指南,您需要形成 PutObjectRequest、PutObjectResponseReceivedHandler 和 AsyncCallerContext。
这里没看懂PutObjectResponseReceivedHandler和AsyncCallerContext怎么组成。有人可以指导我完成它。
【问题讨论】:
标签: c++ aws-sdk-cpp