{"id":61647,"library":"ixwebsocket","title":"ixwebsocket","description":"Lightweight WebSocket Client and Server + HTTP Client and Server.","status":"active","version":"11.4.6","language":"cpp","source_language":null,"source_url":null,"tags":["websocket","http","client","server","lightweight"],"install":[{"cmd":"vcpkg install ixwebsocket","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(ixwebsocket CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE ixwebsocket::ixwebsocket)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"ixwebsocket/IXWebSocket.h","correct":"#include <ixwebsocket/IXWebSocket.h>"}],"quickstart":{"code":"#include <ixwebsocket/IXWebSocket.h>\n#include <iostream>\n\nint main() {\n    ix::WebSocket webSocket;\n    webSocket.setUrl(\"wss://echo.websocket.org\");\n    webSocket.setOnMessageCallback([](const ix::WebSocketMessagePtr& msg) {\n        if (msg->type == ix::WebSocketMessageType::Message) {\n            std::cout << \"Received: \" << msg->str << std::endl;\n        }\n    });\n    webSocket.start();\n    webSocket.send(\"Hello\");\n    std::this_thread::sleep_for(std::chrono::seconds(1));\n    webSocket.stop();\n    return 0;\n}","lang":"cpp","description":"Connect to a WebSocket echo server, send a message, and receive the echo."},"warnings":[],"env_vars":null,"search_vec":"'client':4,8,13 'http':7,12 'ixwebsocket':1 'lightweight':2,15 'server':6,10,14 'websocket':3,11","created_at":"2026-06-17T04:59:42.099099+00:00","updated_at":"2026-06-17T04:59:42.099099+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"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-17","next_check":"2026-12-14","install_tag":null}}