Telnet++ 4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
server_option.hpp
1#pragma once
2
3#include "telnetpp/option.hpp"
4
5namespace telnetpp {
6
7//* =========================================================================
31//* =========================================================================
32class TELNETPP_EXPORT server_option
33 : public telnetpp::
34 option<telnetpp::will, telnetpp::wont, telnetpp::do_, telnetpp::dont>
35{
36public:
37 constexpr explicit server_option(
38 telnetpp::session &sess, telnetpp::option_type code) noexcept
39 : option{sess, code}
40 {
41 }
42};
43
44} // namespace telnetpp
An class that encapsulates one side of a Telnet option.
Definition option.hpp:46
A class that represents a Telnet option's server side. That is, the side that receives DO and DONT ne...
Definition server_option.hpp:35
An abstraction for a Telnet session.
Definition session.hpp:141