luoyb
2024-05-18 ac693f5ddb22583fda2c1f46af2dfe36ef35ef0e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.sunsail.common.websocket.config.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * WebSocket 配置项
 *
 * @author zendwang
 */
@ConfigurationProperties("websocket")
@Data
public class WebSocketProperties {
 
    private Boolean enabled;
 
    /**
     * 路径
     */
    private String path;
 
    /**
     *  设置访问源地址
     */
    private String allowedOrigins;
}