leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.skyline.electricity.controller;
 
import org.springframework.stereotype.*;
import org.springframework.web.socket.server.standard.*;
import org.springframework.context.annotation.*;
 
@Component
public class WebsocketConfiguration
{
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}