Minor fixes.
This commit is contained in:
parent
e719f9bf9b
commit
d5da47510d
@ -22,10 +22,12 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
#include <limits>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <unordered_set>
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ class Client final {
|
|||||||
* The future native C++ interface for interaction with TDLib.
|
* The future native C++ interface for interaction with TDLib.
|
||||||
*
|
*
|
||||||
* A TDLib client instance can be created through the method ClientManager::create_client_id.
|
* A TDLib client instance can be created through the method ClientManager::create_client_id.
|
||||||
* Requests can then be sent using the method ClientManager::send from any thread.
|
* Requests can be sent using the method ClientManager::send from any thread.
|
||||||
* New updates and responses to requests can be received using the method ClientManager::receive from any thread after
|
* New updates and responses to requests can be received using the method ClientManager::receive from any thread after
|
||||||
* the first request has been sent to the client instance. ClientManager::receive must not be called simultaneously from
|
* the first request has been sent to the client instance. ClientManager::receive must not be called simultaneously from
|
||||||
* two different threads. Also note that all updates and responses to requests should be applied in the same order as
|
* two different threads. Also note that all updates and responses to requests should be applied in the same order as
|
||||||
|
@ -103,7 +103,7 @@ TDJSON_EXPORT void td_json_client_destroy(void *client);
|
|||||||
* a response or an update was received.
|
* a response or an update was received.
|
||||||
*
|
*
|
||||||
* A TDLib client instance can be created through td_create_client_id.
|
* A TDLib client instance can be created through td_create_client_id.
|
||||||
* Requests can then be sent using td_send and the received client identifier.
|
* Requests can be sent using td_send and the received client identifier.
|
||||||
* New updates and responses to requests can be received through td_receive from any thread after the first request
|
* New updates and responses to requests can be received through td_receive from any thread after the first request
|
||||||
* has been sent to the client instance. This function must not be called simultaneously from two different threads.
|
* has been sent to the client instance. This function must not be called simultaneously from two different threads.
|
||||||
* Also note that all updates and responses to requests must be applied in the order they were received for consistency.
|
* Also note that all updates and responses to requests must be applied in the order they were received for consistency.
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#include "td/utils/port/ServerSocketFd.h"
|
#include "td/utils/port/ServerSocketFd.h"
|
||||||
#include "td/utils/port/SocketFd.h"
|
#include "td/utils/port/SocketFd.h"
|
||||||
|
#include "td/utils/Slice.h"
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user