WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
#include "webcface/internal/client_internal.h"
Go to the source code of this file.
Namespaces | |
namespace | webcface |
namespace | webcface::internal |
namespace | webcface::internal::WebSocket |
Functions | |
void | init (const std::shared_ptr< internal::ClientData > &data) |
WebSocketに接続する | |
void | close (const std::shared_ptr< internal::ClientData > &data) |
切断しhandleをfreeする | |
bool | recv (const std::shared_ptr< internal::ClientData > &data, const std::function< void(std::string &&)> &cb) |
messageを1回受信しdata->onRecvを呼ぶ | |
void | send (const std::shared_ptr< internal::ClientData > &data, const std::string &msg) |
メッセージを送信する | |