| 317 | } |
| 318 | |
| 319 | AFHttpSessionPtr AFCWebSocketServer::GetNetSession(const AFGUID& session_id) |
| 320 | { |
| 321 | auto it = sessions_.find(session_id); |
| 322 | return (it != sessions_.end() ? it->second : nullptr); |
| 323 | } |
| 324 | |
| 325 | bool AFCWebSocketServer::SendMsg(AFMsgHead* head, const char* msg_data, const int64_t session_id) |
| 326 | { |
no test coverage detected