{"id":56813,"library":"websocket-common","title":"Jetty WebSocket Common","description":"Common classes for Jetty WebSocket implementations, providing core WebSocket protocol support.","status":"active","version":"9.4.58.v20250814","language":"java","source_language":null,"source_url":"https://github.com/jetty/jetty.project","tags":["websocket","jetty","networking","protocol"],"install":[{"cmd":"<dependency>\n  <groupId>org.eclipse.jetty.websocket</groupId>\n  <artifactId>websocket-common</artifactId>\n  <version>9.4.58.v20250814</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.eclipse.jetty.websocket:websocket-common:9.4.58.v20250814'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"WebSocketSession","correct":"org.eclipse.jetty.websocket.common.WebSocketSession"}],"quickstart":{"code":"import org.eclipse.jetty.websocket.common.WebSocketSession;\nimport org.eclipse.jetty.websocket.api.Session;\n\npublic class Example {\n    public static void main(String[] args) {\n        // Typically obtained from a WebSocket connection\n        Session session = new WebSocketSession();\n        session.getRemote().sendString(\"Hello\");\n    }\n}","lang":"java","description":"Demonstrates creating a WebSocket session and sending a message."},"warnings":[{"fix":"Use org.eclipse.jetty.websocket:websocket-core for Jetty 10+.","message":"Jetty 9.x WebSocket API differs significantly from Jetty 10+; this package is for Jetty 9.x.","severity":"breaking","affected_versions":">=10.0.0"}],"env_vars":null,"search_vec":"'class':5 'common':3,4 'core':11 'implement':9 'jetti':1,7,16 'network':17 'protocol':13,18 'provid':10 'support':14 'websocket':2,8,12,15","created_at":"2026-06-15T10:51:14.623409+00:00","updated_at":"2026-06-15T10:51:14.623409+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://jetty.org/","github":"https://github.com/jetty/jetty.project","docs":"https://appdoc.app/artifact/org.eclipse.jetty.websocket/websocket-common/","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}}