C#: Probe the connection

Checks the connection now instead of waiting for the next heartbeat. If no reply arrives within ClientOptions.ProbeTimeout (5 seconds by default), the socket reconnects.

Examples

Probe when the app returns to the foreground

void OnApplicationPause(bool paused)
{
    if (!paused)
    {
        supabase.Realtime.ProbeConnection();
    }
}