gssong
2024-05-31 c84f24fe209dda159b48b428c8f4bf2e4e45b540
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 org.dromara.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;
}