Skip to main content

Variable: PAYLOAD_ENCODINGS

const PAYLOAD_ENCODINGS: readonly ["json/plain", "binary/plain", "binary/encrypted", "kms/envelope"]

Payload encodings (11 §2.30). json/plain values are never wrapped; every other encoding is carried as an EncodedPayload. A worker's payload converter may name its own encoding (for example binary/protobuf); the engine treats any encoding other than json/plain as opaque.