|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
|
Translation changed |
|
To understand these declarations we need to first understand that cpprestsdk uses the asynchronous model defined by Microsoft's要理解这些声明,我们首先需要了解 cpprestsdk 使用了微软的 [@https://msdn.microsoft.com/en-us/library/dd504870.aspx [*Concurrency Runtime]]. Identifiers from the所定义的异步模型。来自 [@https://msdn.microsoft.com/en-us/library/jj987780.aspx [*`pplx` namespace]]define common asynchronous patterns such as tasks and events. The的标识符定义了诸如任务和事件等通用异步模式。`concurrency::streams::istream`parameter and参数和 `m_data_available`data member indicates a lack of separation of concerns. The representation of HTTP messages should not be conflated with the asynchronous model used to serialize or parse those messages in the message declarations.数据成员表明其关注点分离做得不够好。HTTP 消息的表示形式不应与消息声明中用于序列化或解析这些消息的异步模型混为一谈。