MCPcopy Create free account
hub / github.com/acl-dev/acl / ws_read_wait

Method ws_read_wait

lib_acl_cpp/src/http/http_aclient.cpp:760–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760void http_aclient::ws_read_wait(int timeout /* = 0 */)
761{
762 acl_assert(conn_);
763
764 status_ = HTTP_ACLIENT_STATUS_WS_READING;
765
766 // ע�� websocket ���ص�����
767 conn_->add_read_callback(this);
768 conn_->readable_await(timeout);
769}
770
771bool http_aclient::ws_send_text(char* data, size_t len)
772{

Callers 6

on_ws_handshakeMethod · 0.80
on_ws_handshakeMethod · 0.80
on_ws_handshakeMethod · 0.80
on_ws_handshakeMethod · 0.80
on_ws_handshakeFunction · 0.80
on_ws_handshakeFunction · 0.80

Calls 2

add_read_callbackMethod · 0.80
readable_awaitMethod · 0.80

Tested by

no test coverage detected