package com.m2pool.chat.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "websocket.transport")
public class CustomWebSocketConfig {
    private  int messageSizeLimit;
    private  int sendTimeLimit;
    private  int sendBufferSizeLimit;
    private  int timeToFirstMessage;
    private int maxConnections;
    private String defaultCustomerEmail;
}