Definition in file server.hpp.
Go to the source code of this file.
#include <memory>
#include <optional>
#include <userver/engine/io/socket.hpp>
#include <userver/server/http/http_request.hpp>
#include <userver/tracing/span.hpp>
#include <userver/utils/span.hpp>
#include <userver/yaml_config/fwd.hpp>
Classes | |
struct | server::websocket::Message |
WebSocket message. More... | |
struct | server::websocket::Config |
struct | server::websocket::Statistics |
class | server::websocket::WebSocketConnection |
Main class for Websocket connection. More... | |
Typedefs | |
using | server::websocket::CloseStatusInt = int16_t |
Enumerations | |
enum class | server::websocket::CloseStatus : CloseStatusInt { kNone = 0 , kNormal = 1000 , kGoingAway = 1001 , kProtocolError = 1002 , kUnsupportedData = 1003 , kFrameTooLarge = 1004 , kNoStatusRcvd = 1005 , kAbnormalClosure = 1006 , kBadMessageData = 1007 , kPolicyViolation = 1008 , kTooBigData = 1009 , kExtensionMismatch = 1010 , kServerError = 1011 } |
Close statuses. More... | |
Functions | |
Config | server::websocket::Parse (const yaml_config::YamlConfig &, formats::parse::To< Config >) |
std::shared_ptr< WebSocketConnection > | server::websocket::MakeWebSocket (std::unique_ptr< engine::io::RwBase > &&socket, engine::io::Sockaddr &&peer_name, const Config &config) |
using server::websocket::CloseStatusInt = int16_t |
Definition at line 19 of file server.hpp.
|
strong |
Close statuses.
Definition at line 22 of file server.hpp.