refreshAllPages

fun refreshAllPages(): Job

Forces all currently connected clients to refresh their pages. This can be useful if there has been a code-change, for example.

If there are a large number of connected clients this could place a lot of load on the server. An unexpected page refresh may also confuse website visitors.