HTTP streaming connection endpoint in Centrifugo is:
const transports = [
const centrifuge = new Centrifuge(transports);
Make sure allowed_origins are properly configured.
Enables HTTP streaming endpoint. And enables emulation endpoint (
/emulation by default) to accept emulation HTTP requests from clients.
Default: 65536 (64KB)
Maximum allowed size of a initial HTTP POST request in bytes.