diff options
Diffstat (limited to 'include/connection.hpp')
-rw-r--r-- | include/connection.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/connection.hpp b/include/connection.hpp index 761f777..27119e4 100644 --- a/include/connection.hpp +++ b/include/connection.hpp @@ -82,7 +82,12 @@ public: * * @since 0.1.0 */ - explicit Connection(Instance &instance); + explicit Connection(Instance &instance) + : _instance{instance} + , _baseuri{instance.get_baseuri()} + { + _instance.copy_connection_properties(*this); + } /*! * @brief Make a HTTP GET call with parameters. |