2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // Official repository: https://github.com/boostorg/beast
10 #ifndef BOOST_BEAST_WEBSOCKET_DETAIL_TYPE_TRAITS_HPP
11 #define BOOST_BEAST_WEBSOCKET_DETAIL_TYPE_TRAITS_HPP
13 #include <boost/beast/websocket/rfc6455.hpp>
14 #include <boost/beast/core/detail/type_traits.hpp>
22 using is_RequestDecorator =
23 typename beast::detail::is_invocable<F,
24 void(request_type&)>::type;
27 using is_ResponseDecorator =
28 typename beast::detail::is_invocable<F,
29 void(response_type&)>::type;