spring-framework / org.springframework.web.socket.client.standard / StandardWebSocketClient / setUserProperties

setUserProperties

open fun setUserProperties(@Nullable userProperties: MutableMap<String, Any>): Unit

The standard Java WebSocket API allows passing "user properties" to the server via userProperties. Use this property to configure one or more properties to be passed on every handshake.