{"id":55371,"library":"spring-websocket","title":"Spring WebSocket","description":"Spring WebSocket provides WebSocket support for the Spring Framework, enabling real-time communication in web applications.","status":"active","version":"7.0.5","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-framework","tags":["spring","websocket","real-time","communication"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework</groupId>\n  <artifactId>spring-websocket</artifactId>\n  <version>7.0.5</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework:spring-websocket:7.0.5'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"WebSocketHandler","correct":"org.springframework.web.socket.WebSocketHandler"}],"quickstart":{"code":"import org.springframework.web.socket.WebSocketHandler;\nimport org.springframework.web.socket.WebSocketSession;\nimport org.springframework.web.socket.TextMessage;\n\npublic class MyHandler implements WebSocketHandler {\n    @Override\n    public void handleMessage(WebSocketSession session, TextMessage message) throws Exception {\n        System.out.println(\"Received: \" + message.getPayload());\n    }\n}","lang":"java","description":"Minimal WebSocket handler implementation"},"warnings":[],"env_vars":null,"search_vec":"'applic':19 'communic':16,25 'enabl':12 'framework':11 'provid':5 'real':14,23 'real-tim':13,22 'spring':1,3,10,20 'support':7 'time':15,24 'web':18 'websocket':2,4,6,21","created_at":"2026-06-15T09:48:07.139015+00:00","updated_at":"2026-06-15T09:48:07.139015+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spring-projects/spring-framework","github":"https://github.com/spring-projects/spring-framework","docs":"https://appdoc.app/artifact/org.springframework/spring-websocket/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}