Skip to main content

HttpSourceOptions Struct

Construction options for an HttpSource Node. More...

Declaration

struct simaai::neat::HttpSourceOptions { ... }

Included Headers

#include <HttpSource.h>

Public Member Attributes Index

std::stringlocation

HTTP/HTTPS URL to read from. More...

inttimeout_seconds = 15

Blocking I/O timeout in seconds; 0 disables timeout. More...

intretries = 3

Maximum retries before failing; -1 means infinite. More...

boolis_live = false

If true, mark the source as live. More...

booldo_timestamp = false

If true, timestamp outgoing buffers with stream time. More...

std::stringuser_agent

Optional HTTP User-Agent override. More...

boolssl_strict = true

If false, disable strict TLS certificate validation. More...

Description

Construction options for an HttpSource Node.

Empty strings leave optional souphttpsrc string properties at their element defaults.

Definition at line 21 of file HttpSource.h.

Public Member Attributes

do_timestamp

bool simaai::neat::HttpSourceOptions::do_timestamp = false

If true, timestamp outgoing buffers with stream time.

Definition at line 26 of file HttpSource.h.

is_live

bool simaai::neat::HttpSourceOptions::is_live = false

If true, mark the source as live.

Definition at line 25 of file HttpSource.h.

location

std::string simaai::neat::HttpSourceOptions::location

HTTP/HTTPS URL to read from.

Definition at line 22 of file HttpSource.h.

retries

int simaai::neat::HttpSourceOptions::retries = 3

Maximum retries before failing; -1 means infinite.

Definition at line 24 of file HttpSource.h.

ssl_strict

bool simaai::neat::HttpSourceOptions::ssl_strict = true

If false, disable strict TLS certificate validation.

Definition at line 28 of file HttpSource.h.

timeout_seconds

int simaai::neat::HttpSourceOptions::timeout_seconds = 15

Blocking I/O timeout in seconds; 0 disables timeout.

Definition at line 23 of file HttpSource.h.

user_agent

std::string simaai::neat::HttpSourceOptions::user_agent

Optional HTTP User-Agent override.

Definition at line 27 of file HttpSource.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.