open fun setMessageCodec(codec: SockJsMessageCodec): SockJsServiceRegistration
The codec to use for encoding and decoding SockJS messages.
By default Jackson2SockJsMessageCodec is used requiring the Jackson library to be present on the classpath.
Since
4.1