@Configuration
@ConditionalOnProperty(prefix="openingo.websocket",
name="enable",
havingValue="true")
@ConditionalOnClass(value=org.springframework.web.socket.server.standard.ServerEndpointExporter.class)
@EnableConfigurationProperties(value=WebsocketConfigProperties.class)
public class WebsocketConfig
extends Object
| 构造器和说明 |
|---|
WebsocketConfig() |
@Bean public org.springframework.web.socket.server.standard.ServerEndpointExporter serverEndpointExporter()
@Bean public WebsocketServerEndpoint websocketServerEndpoint()
Copyright © 2022. All rights reserved.