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;
| }
|
|