spring-framework / org.springframework.web.socket.sockjs.client / SockJsClient / clearServerInfoCache

clearServerInfoCache

open fun clearServerInfoCache(): Unit

By default the result of a SockJS "Info" request, including whether the server has WebSocket disabled and how long the request took (used for calculating transport timeout time) is cached. This method can be used to clear that cache hence causing it to re-populate.