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