Home
last modified time | relevance | path

Searched full:websocket (Results 1 – 25 of 83) sorted by relevance

1234

/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_websocket.robot3 Documentation Websocket functionality test.
31 ${esel_received} eSEL received over websocket interface
32 ${dump_received} Dump notification received over websocket interface
40 Test BMC Websocket ESEL Interface
41 [Documentation] Verify eSELs are reported over the websocket interface.
47 # Spawn the websocket monitor program and then generate an eSEL.
49 # websocket interface and report this fact to standard output.
51 Start Websocket Monitor logging
68 # eSEL received over websocket interface.
75 Test BMC Websocket Dump Interface
[all …]
/openbmc/openbmc-test-automation/bin/
H A Dwebsocket_monitor.py12 import websocket
31 description="%(prog)s will open a websocket session on a remote OpenBMC. "
33 + "notice over websocket that the eSEL was created "
55 help="The type of notifications from websocket to monitor.",
136 Websocket message handler. Close the websocket if the
140 websocket_obj The websocket established during opne_socket().
141 message The message sent from the websocket interface.
154 qprint_timen("eSEL received over websocket interface.")
158 "Dump notification received over websocket interface."
165 Websocket error handler. This routine is called whenever the
[all …]
/openbmc/bmcweb/http/
H A Dwebsocket_impl.hpp12 #include "websocket.hpp"
23 #include <boost/beast/websocket/error.hpp>
24 #include <boost/beast/websocket/rfc6455.hpp>
25 #include <boost/beast/websocket/stream.hpp>
26 #include <boost/beast/websocket/stream_base.hpp>
30 #include <boost/beast/websocket/ssl.hpp>
41 namespace websocket namespace
56 std::function<void(crow::websocket::Connection&, std::string_view, in ConnectionImpl()
57 crow::websocket::MessageType type, in ConnectionImpl()
69 /* Turn on the timeouts on websocket stream to server role */ in ConnectionImpl()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-websocket-client_1.7.0.bb1 SUMMARY = "websocket client for python"
3 websocket-client module is WebSocket client for python. \
4 This provide the low level APIs for WebSocket. All APIs \
6 HOMEPAGE = "https://github.com/websocket-client/websocket-client"
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/nopoll/
H A Dnopoll_0.4.6.b400.bb1 SUMMARY = "OpenSource WebSocket Toolkit"
2 DESCRIPTION = "noPoll is a OpenSource WebSocket implementation (RFC 6455), \
3 written in ansi C, that allows building pure WebSocket solutions or to \
4 provide WebSocket support to existing TCP oriented applications.\
6 noPoll provides support for WebSocket (ws://) and TLS (secure) WebSocket (wss://),\
/openbmc/bmcweb/http/routing/
H A Dwebsocketrule.hpp9 #include "websocket.hpp"
42 "Handle called on websocket rule. This should never happen"); in handle()
92 std::function<void(crow::websocket::Connection&)> openHandler;
93 std::function<void(crow::websocket::Connection&, const std::string&, bool)>
95 std::function<void(crow::websocket::Connection&, std::string_view,
96 crow::websocket::MessageType type,
99 std::function<void(crow::websocket::Connection&, const std::string&)>
101 std::function<void(crow::websocket::Connection&)> errorHandler;
H A Dwebsocketrule.cpp23 BMCWEB_LOG_DEBUG("Websocket handles upgrade"); in handleUpgrade()
25 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>> in handleUpgrade()
27 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>>( in handleUpgrade()
37 BMCWEB_LOG_DEBUG("Websocket handles upgrade"); in handleUpgrade()
38 std::shared_ptr<crow::websocket::ConnectionImpl< in handleUpgrade()
40 myConnection = std::make_shared<crow::websocket::ConnectionImpl< in handleUpgrade()
/openbmc/bmcweb/include/
H A Dobmc_console.hpp9 #include "websocket.hpp"
44 crow::websocket::Connection& connIn) : in ConsoleHandler()
130 crow::websocket::MessageType::Binary, payload, in doRead()
162 crow::websocket::Connection& conn;
166 crow::websocket::Connection*, std::shared_ptr<ConsoleHandler>, std::less<>,
167 std::vector<std::pair<crow::websocket::Connection*,
178 inline void onClose(crow::websocket::Connection& conn, const std::string& err) in onClose()
180 BMCWEB_LOG_INFO("Closing websocket. Reason: {}", err); in onClose()
194 inline void connectConsoleSocket(crow::websocket::Connection& conn, in connectConsoleSocket()
233 crow::websocket::Connection& conn, const std::string& consoleObjPath, in processConsoleObject()
[all …]
H A Dkvm_websocket.hpp7 #include "websocket.hpp"
32 explicit KvmSession(crow::websocket::Connection& connIn) : in KvmSession()
65 BMCWEB_LOG_DEBUG("conn:{}, Read {} bytes from websocket", logPtr(&conn), in onMessage()
69 BMCWEB_LOG_DEBUG("conn:{}, Committing {} bytes from websocket", in onMessage()
170 crow::websocket::Connection& conn;
177 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
188 .websocket() in requestRoutes()
189 .onopen([](crow::websocket::Connection& conn) { in requestRoutes()
200 .onclose([](crow::websocket::Connection& conn, const std::string&) { in requestRoutes()
203 .onmessage([](crow::websocket::Connection& conn, in requestRoutes()
H A Dvm_websocket.hpp12 #include "websocket.hpp"
48 static crow::websocket::Connection* session = nullptr;
204 NbdProxyServer(crow::websocket::Connection& connIn, in NbdProxyServer()
337 // Send to websocket in afterRead()
340 crow::websocket::MessageType::Binary, in afterRead()
411 // UNIX => WebSocket buffer
414 // WebSocket => UNIX buffer
423 crow::websocket::Connection& connection;
426 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
432 crow::websocket::Connection& conn, in afterGetSocket()
[all …]
H A Ddbus_monitor.hpp8 #include "websocket.hpp"
39 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
53 crow::websocket::Connection* connection = in onPropertyUpdate()
54 static_cast<crow::websocket::Connection*>(userdata); in onPropertyUpdate()
138 .websocket() in requestRoutes()
139 .onopen([](crow::websocket::Connection& conn) { in requestRoutes()
143 .onclose([](crow::websocket::Connection& conn, const std::string&) { in requestRoutes()
146 .onmessage([](crow::websocket::Connection& conn, in requestRoutes()
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/
H A Dapache-websocket_git.bb1 SUMMARY = "Websocket module for Apache web server"
2 DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
3 HOMEPAGE = "https://github.com/jchampio/apache-websocket/"
12 # Original (github.com/disconnect/apache-websocket) is dead since 2012, the
14 SRC_URI = "git://github.com/jchampio/apache-websocket.git;branch=master;protocol=https"
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/
H A D0009-support-apxs.in-force-destdir-to-be-empty-string.patch8 related packages like apache-websocket will be unable to locate them:
11 …ache-websocket/0.1.1+gitAUTOINC+6968083264-r0/recipe-sysroot/ala-lpggp31/tgamblin/yocto/poky.git/b…
13 /ala-lpggp31/tgamblin/yocto/poky.git/build/tmp/work/core2-64-poky-linux/apache-websocket/0.1.1+gitA…
16 Ensure that it is always the empty string so that apache-websocket
/openbmc/phosphor-rest-server/module/obmc/wsgi/examples/websockets/
H A Dclient_simple.html5 // This simple example subscribes, via websocket, to certain events occurring
21 // Open a new secure websocket. The rest server on the BMC
23 var ws = new WebSocket("wss://<BMC IP>/subscribe");
25 // websocket. Either/both of them can be an empty array. The arrays
41 // Received a message on the websocket, the response is a JSON dict.
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DOutboundConnection.v1_0_2.json58 … shall contain the HTTP header name and value to add to the Redfish responses over the WebSocket.",
142 …hema defines how the Redfish service connects to a remote client over a WebSocket connection. Thi…
143 … remote client. Services shall initiate the outbound connection over a WebSocket defined in the '…
185 "description": "The authentication mechanism for the WebSocket connection.",
186 …ription": "This property shall contain the authentication mechanism for the WebSocket connection.",
192 …is collection with the certificate obtained during handshaking with the WebSocket service to verif…
222 "description": "The URI of the WebSocket connection to the remote client.",
224 …"longDescription": "This property shall contain the WebSocket URI to the external web service of t…
248 …to send to the remote client during the initial connection prior to the WebSocket upgrade. This p…
249 …to send to the remote client during the initial connection prior to the WebSocket upgrade. This p…
[all …]
/openbmc/qemu/io/
H A Dtrace-events57 qio_channel_websock_http_greeting(void *ioc, const char *greeting) "Websocket HTTP request ioc=%p g…
58 …r *host, const char *connection, const char *upgrade, const char *key) "Websocket HTTP request ioc…
59 …dlen, unsigned char fin, unsigned char opcode, unsigned char has_mask) "Websocket header decoded i…
60 …_decode(void *ioc, size_t headerlen, size_t payloadlen, uint32_t mask) "Websocket header decoded i…
61 qio_channel_websock_payload_decode(void *ioc, uint8_t opcode, size_t payload_remain) "Websocket hea…
62 …encode(void *ioc, uint8_t opcode, size_t payloadlen, size_t headerlen) "Websocket encoded ioc=%p o…
63 qio_channel_websock_close(void *ioc) "Websocket close ioc=%p"
H A Dchannel-websock.c37 #define QIO_CHANNEL_WEBSOCK_HEADER_PROTOCOL "sec-websocket-protocol"
38 #define QIO_CHANNEL_WEBSOCK_HEADER_VERSION "sec-websocket-version"
39 #define QIO_CHANNEL_WEBSOCK_HEADER_KEY "sec-websocket-key"
46 #define QIO_CHANNEL_WEBSOCK_UPGRADE_WEBSOCKET "websocket"
55 "Upgrade: websocket\r\n" \
57 "Sec-WebSocket-Accept: %s\r\n" \
58 "Sec-WebSocket-Protocol: binary\r\n" \
63 "Upgrade: websocket\r\n" \
65 "Sec-WebSocket-Accept: %s\r\n" \
76 "Sec-WebSocket-Version: " \
[all …]
/openbmc/bmcweb/
H A DREADME.md9 - DBus event websocket. Allows registering on changes to specific dbus paths,
10 properties, and will send an event from the websocket if those filters match.
13 - Serial: A serial websocket for interacting with the host serial console
16 - KVM: A websocket based implementation of the RFB (VNC) frame buffer protocol
H A DTESTING.md102 routes, testing one route of each class (websocket, HTTP get, HTTP post) is
115 ### Websocket subsection
117 Turn on the `rest` meson option which provides a websocket route.
120 # run the websocket testing script and verify results
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DOutboundConnection_v1.xml41 …hema defines how the Redfish service connects to a remote client over a WebSocket connection. Thi…
42 … remote client. Services shall initiate the outbound connection over a WebSocket defined in the '…
82 …tion Term="OData.Description" String="The authentication mechanism for the WebSocket connection."/>
83 …" String="This property shall contain the authentication mechanism for the WebSocket connection."/>
88 …is collection with the certificate obtained during handshaking with the WebSocket service to verif…
105 …<Annotation Term="OData.Description" String="The URI of the WebSocket connection to the remote cli…
106 …on Term="OData.LongDescription" String="This property shall contain the WebSocket URI to the exter…
114 …to send to the remote client during the initial connection prior to the WebSocket upgrade. This p…
115 …to send to the remote client during the initial connection prior to the WebSocket upgrade. This p…
130 …<Annotation Term="OData.Description" String="Interval for sending the WebSocket ping opcode in min…
[all …]
/openbmc/qemu/include/io/
H A Dchannel-websock.h49 * a websocket server and is a pretty crude implementation
82 * via the new websocket channel object and not the original
92 * @ioc: the websocket channel object
97 * Perform the websocket handshake. This method
/openbmc/bmcweb/scripts/
H A Dwebsocket_test.py52 ) as websocket:
59 await websocket.send(request)
62 payload = await websocket.recv()
/openbmc/phosphor-webui/app/common/directives/
H A Dapp-header.js21 // Create a secure websocket with URL as /subscribe
25 var ws = new WebSocket(
28 console.log('WebSocket', error);
49 // Websocket event handling function which catches the
/openbmc/openbmc-test-automation/lib/
H A Devent_notification.py13 import websocket
98 websocket.enableTrace(enable_trace)
99 self.__websocket = websocket.create_connection(
/openbmc/openbmc/meta-ibm/recipes-phosphor/interfaces/
H A Dbmcweb_%.bbappend13 -Dvm-websocket=disabled \
26 -Dvm-websocket=disabled \

1234