Telnet++ 4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
client_option.hpp
1#pragma once
2
3#include "telnetpp/option.hpp"
4
5namespace telnetpp {
6
7//* =========================================================================
31//* =========================================================================
32class TELNETPP_EXPORT client_option
33 : public telnetpp::
34 option<telnetpp::do_, telnetpp::dont, telnetpp::will, telnetpp::wont>
35{
36public:
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