@xtandard/audit/sinks/http
Generic HTTP sink: httpSink() POSTs each stream batch as JSON or NDJSON;
non-2xx throws so the stream runner backs off. Zero dependencies.
import { … } from "@xtandard/audit/sinks/http";Functions
Section titled “Functions”| Name | Summary |
|---|---|
encodeHttpBatch |
Serialize a batch for httpSink. |
httpSink |
Create a generic HTTP sink. |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
HttpSinkOptions |
Options for httpSink. |
Re-exports
Section titled “Re-exports”| Name | Documented on |
|---|---|
SinkFetch |
@xtandard/audit/sinks/datadog |
SinkHeaders |
@xtandard/audit/sinks/datadog |
SinkHttpError |
@xtandard/audit/sinks/datadog |