ENH: Add minimal functionality
Compare changes
- florian authored
+ 82
− 23
@@ -25,7 +25,7 @@ module Connection
@@ -35,11 +35,13 @@ to create an connection object from a configuration.
@@ -47,8 +49,9 @@ mutable struct _Connection
@@ -61,11 +64,13 @@ an certificate-provider object from a configuration.
@@ -73,8 +78,9 @@ mutable struct _CertificateProvider
@@ -87,11 +93,10 @@ an connection-configuration object from a configuration.
@@ -99,8 +104,9 @@ mutable struct _Configuration
@@ -112,7 +118,7 @@ Return a `_CertificateProvider` for the pem certificate located at
@@ -149,7 +155,7 @@ function create_tls_connection_configuration(
@@ -180,7 +186,7 @@ end
@@ -207,7 +213,7 @@ Return a connection based on the given `config`.
@@ -227,6 +233,39 @@ function create_connection(config::Ref{_Configuration})
@@ -235,7 +274,7 @@ to.
@@ -280,7 +319,7 @@ function print_version_info(con::Ref{_Connection})
@@ -325,7 +364,7 @@ SSL certificate located at `cacert` with the given credentials.
@@ -376,4 +415,24 @@ function connect(;