spring-framework / org.springframework.web.socket.sockjs.support / AbstractSockJsService / setDisconnectDelay

setDisconnectDelay

open fun setDisconnectDelay(disconnectDelay: Long): Unit

The amount of time in milliseconds before a client is considered disconnected after not having a receiving connection, i.e. an active connection over which the server can send data to the client.

The default value is 5000.