RESTinio
tls_fwd.hpp
Go to the documentation of this file.
1 /*
2  * RESTinio
3  */
4 
5 /*!
6  * @file
7  * @brief Forward declarations for TLS-related things.
8  *
9  * @since v.0.5.2
10  */
11 
12 #pragma once
13 
14 namespace restinio
15 {
16 
17 namespace impl
18 {
19 
20 class tls_socket_t;
21 
22 // Just a forward declaration.
24 make_tls_socket_pointer_for_state_listener(
25  tls_socket_t & socket ) noexcept;
26 
27 } /* namespace impl */
28 
29 //! A public alias for the actual implementation of TLS-socket.
30 using tls_socket_t = impl::tls_socket_t;
31 
32 } /* namespace restinio */
Socket adapter for asio::ssl::stream< asio::ip::tcp::socket >.
Definition: tls_socket.hpp:36
RESTINIO_NODISCARD char to_lower_case(unsigned char ch)
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, optional_t< Value_Type > >::type opt_value(const Parameter_Container &params, string_view_t key)
Gets the value of a parameter specified by key wrapped in optional_t<Value_Type> if parameter exists ...
Definition: value_or.hpp:64