dxFeed .Net API
7.1.0
dxFeed .Net API library intended to provide market data access for DX clients
|
Static Public Member Functions | |
static void | InitializeLogging (string fileName, bool overwrite, bool verbose, bool logDataTransfer=false) |
Initializes the internal logger. More... | |
static void | LoadConfigFromString (string config) |
Initializes the C-API configuration and loads a config (in TOML format) from a string More... | |
static void | LoadConfigFromFile (string fileName) |
Initializes the C-API configuration and loads a config (in TOML format) from a string For the successful application of the configuration, this function must be called before creating any connection More... | |
|
inlinestatic |
Initializes the internal logger.
Various actions and events, including the errors, are being logged throughout the library. They may be stored into the file.
fileName | A full path to the file where the log is to be stored |
overwrite | A flag defining the file open mode; if it's true then the log file will be rewritten |
verbose | A flag defining the logging mode; if it's true then the verbose logging will be enabled |
logDataTransfer | A flag defining the logging mode; if it's nonzero then the data transfer (portions of received and sent data) logging will be enabled |
|
inlinestatic |
Initializes the C-API configuration and loads a config (in TOML format) from a string For the successful application of the configuration, this function must be called before creating any connection
The config file sample: Sample The TOML format specification: https://toml.io/en/v1.0.0-rc.2
Example:
fileName | The config (in TOML format) file name |
|
inlinestatic |
Initializes the C-API configuration and loads a config (in TOML format) from a string
For the successful application of the configuration, this function must be called before creating any connection
The config file sample: Sample
The TOML format specification: https://toml.io/en/v1.0.0-rc.2
Example #1
Example #2
config | The config (in TOML format) string |