Skip to content

encodeHttpBatch

function encodeHttpBatch(batch, format?): string;

Defined in: src/sinks/http.ts:36

Serialize a batch for httpSink.

Parameter Type Default value
batch StreamBatch undefined
format? "json" | "ndjson" "json"

string