Skip to content

Conversation

@offa
Copy link
Owner

@offa offa commented Dec 18, 2023

An API to enable additional transport settings for HTTP.

Instead of using a configuration string it provides a programmatic way for configuration:

auto influxdb = influxdb::http("http://localhost:8086?db=test")
    .setProxy(…)
    .setTimeout(10_s)
    .setVerifyCert(false)
    .connect();

As an example this PR includes settings for timeout and certificate validation.

ToDo:

Related:

closes #225

@offa offa force-pushed the 216-transport_api branch from 372827f to 5f84065 Compare February 1, 2024 16:22
@offa offa merged commit 447971e into master Feb 5, 2024
@offa offa deleted the 216-transport_api branch February 5, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transport options API Read timeout on InfluxDB-cxx Add option to allow Curl to not verify self signed certs

2 participants