| 758 | } |
| 759 | |
| 760 | void 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 | |
| 771 | bool http_aclient::ws_send_text(char* data, size_t len) |
| 772 | { |
no test coverage detected