123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef BOOST_MYSQL_CONNECT_PARAMS_HPP
- #define BOOST_MYSQL_CONNECT_PARAMS_HPP
- #include <boost/mysql/any_address.hpp>
- #include <boost/mysql/ssl_mode.hpp>
- #include <boost/mysql/string_view.hpp>
- #include <cstdint>
- #include <string>
- namespace boost {
- namespace mysql {
- struct connect_params
- {
-
- any_address server_address;
-
- std::string username;
-
- std::string password;
-
- std::string database;
-
- std::uint16_t connection_collation{45};
-
- ssl_mode ssl{ssl_mode::enable};
-
- bool multi_queries{false};
- };
- }
- }
- #endif
|