SNode.C
|
#include <SubProtocol.h>
Public Member Functions | |
~SubProtocol () override | |
![]() | |
SubProtocol (SubProtocol &)=delete | |
SubProtocol (SubProtocol &&)=delete | |
SubProtocol & | operator= (SubProtocol &)=delete |
SubProtocol & | operator= (SubProtocol &&)=delete |
void | sendMessage (const char *message, std::size_t messageLength) const |
void | sendMessage (const std::string &message) const |
void | sendMessageStart (const char *message, std::size_t messageLength) const |
void | sendMessageStart (const std::string &message) const |
void | sendMessageFrame (const char *message, std::size_t messageLength) const |
void | sendMessageFrame (const std::string &message) const |
void | sendMessageEnd (const char *message, std::size_t messageLength) const |
void | sendMessageEnd (const std::string &message) const |
void | sendPing (const char *reason=nullptr, std::size_t reasonLength=0) const |
void | sendClose (uint16_t statusCode=1000, const char *reason=nullptr, std::size_t reasonLength=0) |
const std::string & | getName () |
core::socket::stream::SocketConnection * | getSocketConnection () const |
Private Types | |
using | Super = web::websocket::SubProtocol<web::websocket::client::SocketContextUpgrade> |
Friends | |
template<typename RequestT , typename ResponseT , typename SubProtocolT > | |
class | web::websocket::SocketContextUpgrade |
Additional Inherited Members | |
![]() | |
SubProtocol (SubProtocolContext *subProtocolContext, const std::string &name, int pingInterval=60, int maxFlyingPings=3) | |
![]() | |
SubProtocolContext * | subProtocolContext |
Definition at line 37 of file SubProtocol.h.
|
private |
Definition at line 39 of file SubProtocol.h.
|
overridevirtual |
Reimplemented from web::websocket::SubProtocol< web::websocket::client::SocketContextUpgrade >.
Definition at line 30 of file SubProtocol.cpp.
|
friend |
Definition at line 57 of file SubProtocol.h.