Skip to content

KEY_PARAM

const KEY_PARAM: "st-key" = "st-key"

Defined in: protocol.ts:43

Query param carrying the publishable key. A param, not a header, for the same reason as the protocol version: a consumer’s EventSource cannot set headers. (The server also accepts Authorization: Bearer st_pk_….)