Skip to main content

Module connector

Module connector 

Source
Expand description

The ingest-connector host methods (a code space of kind ingest-connector; see docs/connectors.md). A connector gathers data, stores it raw (Host::store_raw), pipes it into its model (Host::pipe) and runs its rule set (Host::run_ruleset). Only main calls these, and only in a connector run: the host’s scheduler or a dry run, which records the calls instead of storing, piping or running rules.

Structs§

Context
What this run is for (host.context()).
Piped
What Host::pipe did.
Request
An HTTP request for Host::fetch.
Response
A Host::fetch reply.
RulesetRun
What Host::run_ruleset did.

Functions§

b64_decode
Decodes b64_encode’s output (whitespace ignored).
b64_encode
Standard base64 with padding (how bytes cross the JSON ABI).