Message History

Every row below is read back from the platform with channel.getHistory(), or arrived live over the socket while this page was open. Nothing on this page is generated.

Connecting... Channel: This tab:
0
Messages held by the platform
0
Arrived live in this tab
0
Published from this tab
0
Distinct publishers
Filter the retained messages

Filtering happens in the browser over the records the platform returned.

0 matching
Add to the history

Publishing here writes a real message to the channel. It comes back over the socket, and it is still there after a reload.

Retained Messages

Connecting to OddSockets...

Export what is on screen

Exports contain the platform's own message records for the rows that currently match your filters.

The code behind this page
const client = new OddSockets({ apiKey });
await client.connect();

const channel = client.channel(name);
await channel.subscribe(onMessage);

// what the platform retained
const past = await channel.getHistory({
    count: 100
});