#include <session.h>
|
| | Session (asio::ip::tcp::socket socket, asio::ssl::context &tls, OnMessage on_message, OnClose on_close) |
| void | Start () |
| | Shakes hands over TLS, then reads the client's messages.
|
| void | Send (std::string bytes) |
| void | Send (std::shared_ptr< const std::string > shared, std::string own) |
| void | Close () |
Definition at line 17 of file session.h.
◆ OnClose
◆ OnMessage
◆ Session()
| nanommo::Session::Session |
( |
asio::ip::tcp::socket | socket, |
|
|
asio::ssl::context & | tls, |
|
|
OnMessage | on_message, |
|
|
OnClose | on_close ) |
◆ Close()
| void nanommo::Session::Close |
( |
| ) |
|
◆ Send() [1/2]
| void nanommo::Session::Send |
( |
std::shared_ptr< const std::string > | shared, |
|
|
std::string | own ) |
◆ Send() [2/2]
| void nanommo::Session::Send |
( |
std::string | bytes | ) |
|
◆ Start()
| void nanommo::Session::Start |
( |
| ) |
|
Shakes hands over TLS, then reads the client's messages.
Definition at line 24 of file session.cc.
The documentation for this class was generated from the following files: