添加http文件get接口 。
Some checks failed
Deploy / Build (push) Failing after 1m40s

This commit is contained in:
2025-03-14 18:17:36 +08:00
parent cc63303cbb
commit 334edbddfd
6 changed files with 54 additions and 14 deletions

View File

@ -14,6 +14,8 @@ SignalServer::SignalServer(Application &app) {
if (boost::beast::websocket::is_upgrade(request)) {
auto ws = std::make_shared<WebSocketSignalSession>(session.releaseSocket(), *this, id);
ws->run(request);
} else {
LOG(error) << "webrtc client[" << id << "] not upgrade connection, request: " << std::endl << request;
}
});
// clang-format on
@ -36,4 +38,4 @@ WebSocketSignalSession *SignalServer::client(const std::string &id) {
}
return ret;
}
}
} // namespace Older