6#include <userver/components/component_config.hpp>
7#include <userver/components/component_context.hpp>
8#include <userver/server/handlers/http_handler_base.hpp>
9#include <userver/server/websocket/server.hpp>
11USERVER_NAMESPACE_BEGIN
13namespace server::websocket {
53 void WriteMetrics(
utils::statistics::Writer& writer)
const;
64 LOG_WARNING() <<
"Not a GET 'Upgrade: websocket' and 'Connection: Upgrade' request";
69 std::string HandleRequestThrow(
const server::
http::HttpRequest& request, server::
request::RequestContext& context)
72 websocket::Config config_;
73 mutable Statistics stats_;
74 utils::statistics::Entry statistics_holder_;