Qore ConnectionProvider Module Reference
1.2.1
|
The ConnectionProvider module provides an API for providing pluggable network connections objects to Qore. This module can also be used to provide URL strings from identifiers from registered connection providers as well.
To use this module, use "%requires ConnectionProvider"
in your code.
All the public symbols in the module are defined in the ConnectionProvider namespace.
Class:
Hashdecls:
Functions:
This module uses the "QORE_CONNECTION_PROVIDERS"
environment variable to load connection provider modules. Each connection provider module must provide two public functions with the following signatures:
Connection provider modules declared in the "QORE_CONNECTION_PROVIDERS"
environment variable must be separated by the platform-specific PathSep character as in the following examples:
export QORE_CONNECTION_PROVIDERS=MyConnectionProvider:OtherConnectionProvider
set QORE_CONNECTION_PROVIDERS=MyConnectionProvider;OtherConnectionProvider
$env:QORE_CONNECTION_PROVIDERS="MyConnectionProvider;OtherConnectionProvider"
"tags"
(issue 3486)