/hal_espressif-3.6.0/components/tcp_transport/ |
D | transport_ws.c | 98 transport_ws_t *ws = esp_transport_get_context_data(t); in ws_get_payload_transport_handle() local 102 ws->frame_state.bytes_remaining = 0; in ws_get_payload_transport_handle() 104 return ws->parent; in ws_get_payload_transport_handle() 145 transport_ws_t *ws = esp_transport_get_context_data(t); in ws_connect() local 146 if (esp_transport_connect(ws->parent, host, port, timeout_ms) < 0) { in ws_connect() 157 const char *user_agent_ptr = (ws->user_agent)?(ws->user_agent):"ESP32 Websocket Client"; in ws_connect() 161 int len = snprintf(ws->buffer, WS_BUFFER_SIZE, in ws_connect() 169 ws->path, in ws_connect() 176 if (ws->sub_protocol) { in ws_connect() 177 ESP_LOGD(TAG, "sub_protocol: %s", ws->sub_protocol); in ws_connect() [all …]
|
/hal_espressif-3.6.0/examples/protocols/https_server/wss_server/ |
D | wss_server_example_test.py | 43 self.ws = websocket.WebSocket(sslopt=sslopt) 45 self.ws.settimeout(10) 48 self.ws.connect('wss://{}:{}/ws'.format(self.ip, self.port)) 52 self.ws.close() 55 return self.ws.recv_data(control_frame=True) 59 return self.ws.ping(data) 61 return self.ws.pong(data) 62 return self.ws.send(data) 77 with WsClient(self.ip, self.port, self.ca_file) as ws: 80 opcode, data = ws.read() [all …]
|
/hal_espressif-3.6.0/examples/protocols/http_server/ws_echo_server/ |
D | ws_server_example_test.py | 30 self.ws = websocket.WebSocket() 33 self.ws.connect('ws://{}:{}/ws'.format(self.ip, self.port)) 37 self.ws.close() 40 return self.ws.recv_data(control_frame=True) 44 return self.ws.send_binary(data.encode()) 46 return self.ws.ping(data) 47 return self.ws.send(data) 73 with WsClient(got_ip, int(got_port)) as ws: 76 ws.write(data=DATA, opcode=expected_opcode) 77 opcode, data = ws.read() [all …]
|
D | README.md | 40 // beginning of the ws URI handler 42 // action before ws handshake 108 D (4982) httpd_uri: httpd_register_uri_handler: [0] installed /ws 121 D (17612) httpd_parse: cb_url: processing url = /ws 122 D (17622) httpd_parse: verify_url: received URI = /ws 153 D (17812) httpd_uri: httpd_uri: request for /ws with type 1 154 D (17812) httpd_uri: httpd_find_uri_handler: [0] = /ws
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/ |
D | wireshark-user-guide.rst | 124 .. figure:: ../../_static/ws-capture-interface.jpeg 148 .. figure:: ../../_static/ws-setup-filters.png 157 .. figure:: ../../_static/ws-display-filter-dialogue-box.png 167 .. figure:: ../../_static/ws-filter-expression.png 177 .. figure:: ../../_static/ws-filter-toolbar.png 188 .. figure:: ../../_static/ws-filter-toolbar_green.png 200 .. figure:: ../../_static/ws-packet-list.png 214 .. figure:: ../../_static/ws-stop-packet-capture.png 223 .. figure:: ../../_static/ws-start-resume-packet-capture.png 235 .. figure:: ../../_static/ws-save-packets.png
|
/hal_espressif-3.6.0/components/tcp_transport/test/ |
D | test_transport_basic.c | 27 esp_transport_handle_t ws = esp_transport_ws_init(tcp); 28 TEST_ASSERT_EQUAL(ESP_OK, esp_transport_destroy(ws)); 39 esp_transport_handle_t ws = esp_transport_ws_init(tcp); 40 esp_transport_list_add(transport_list, ws, "ws");
|
D | test_transport_connect.c | 129 esp_transport_handle_t ws = esp_transport_ws_init(tcp); 130 esp_transport_list_add(transport_list, ws, "ws"); 145 tcp_transport_keepalive_test(ws, false, &keep_alive_cfg);
|
/hal_espressif-3.6.0/tools/idf_monitor_base/ |
D | web_socket_client.py | 57 self.ws = websocket.create_connection(self.url) 69 self.ws.close() 82 self.ws.send(json.dumps(payload_dict)) 98 r = self.ws.recv()
|
/hal_espressif-3.6.0/tools/test_apps/protocols/mqtt/publish_connect_test/ |
D | sdkconfig.ci.default | 3 CONFIG_EXAMPLE_BROKER_WS_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws" 4 CONFIG_EXAMPLE_BROKER_WSS_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws"
|
D | sdkconfig.qemu | 14 CONFIG_EXAMPLE_BROKER_WS_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws" 15 CONFIG_EXAMPLE_BROKER_WSS_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws"
|
D | README.md | 17 * transport: string parameter, one of: tcp, ssl, ws, wss
|
/hal_espressif-3.6.0/docs/en/api-guides/ |
D | wireshark-user-guide.rst | 127 .. figure:: ../../_static/ws-capture-interface.jpeg 150 .. figure:: ../../_static/ws-setup-filters.png 159 .. figure:: ../../_static/ws-display-filter-dialogue-box.png 169 .. figure:: ../../_static/ws-filter-expression.png 179 .. figure:: ../../_static/ws-filter-toolbar.png 192 .. figure:: ../../_static/ws-filter-toolbar_green.png 203 .. figure:: ../../_static/ws-packet-list.png 214 .. figure:: ../../_static/ws-stop-packet-capture.png 223 .. figure:: ../../_static/ws-start-resume-packet-capture.png 235 .. figure:: ../../_static/ws-save-packets.png
|
/hal_espressif-3.6.0/docs/en/api-reference/protocols/ |
D | esp_websocket_client.rst | 19 - Supports ``ws``, ``wss`` schemes 22 - ``ws://echo.websocket.org``: WebSocket over TCP, default port 80 30 .uri = "ws://echo.websocket.org", 38 .uri = "ws://echo.websocket.org/connectionhandler?id=104", 49 .uri = "ws://echo.websocket.org:123", 84 .uri = "ws://websocket.org",
|
D | mqtt.rst | 24 * :example:`protocols/mqtt/ws`: MQTT over Websocket, default port 80 33 - Curently support ``mqtt``, ``mqtts``, ``ws``, ``wss`` schemes 48 - ``ws://mqtt.eclipseprojects.io:80/mqtt``
|
/hal_espressif-3.6.0/examples/protocols/mqtt/ws/ |
D | sdkconfig.ci | 1 CONFIG_BROKER_URI="ws://${EXAMPLE_MQTT_BROKER_WS}/ws"
|
/hal_espressif-3.6.0/tools/ |
D | idf_monitor.py | 302 ws = WebSocketClient(args.ws) if args.ws else None 333 ws, 349 if ws: 350 ws.close()
|
/hal_espressif-3.6.0/tools/test_apps/protocols/mqtt/publish_connect_test/main/ |
D | Kconfig.projbuild | 17 default "ws://mqtt.eclipseprojects.io:80/mqtt" 19 URL of an mqtt broker for ws transport
|
/hal_espressif-3.6.0/examples/protocols/websocket/ |
D | example_test.py | 130 with Websocket(server_port) as ws: 137 test_recv_long_msg(dut1, ws, 2000, 3)
|
/hal_espressif-3.6.0/examples/protocols/http_server/ws_echo_server/main/ |
D | ws_echo_server.c | 117 static const httpd_uri_t ws = { variable 136 httpd_register_uri_handler(server, &ws); in start_webserver()
|
/hal_espressif-3.6.0/examples/protocols/http_server/restful_server/front/web-demo/ |
D | vue.config.js | 7 ws: true property in module.exports.devServer.proxy./api
|
/hal_espressif-3.6.0/examples/protocols/mqtt/wss/ |
D | sdkconfig.ci | 1 CONFIG_BROKER_URI="wss://${EXAMPLE_MQTT_BROKER_WSS}/ws"
|
/hal_espressif-3.6.0/examples/protocols/mqtt/ws/main/ |
D | Kconfig.projbuild | 5 default "ws://mqtt.eclipseprojects.io:80/mqtt"
|
/hal_espressif-3.6.0/examples/protocols/websocket/main/ |
D | Kconfig.projbuild | 19 default "ws://echo.websocket.org"
|
/hal_espressif-3.6.0/examples/protocols/https_server/wss_server/main/ |
D | wss_server_example.c | 105 static const httpd_uri_t ws = { variable 203 httpd_register_uri_handler(server, &ws); in start_wss_echo_server()
|
/hal_espressif-3.6.0/components/esp_websocket_client/ |
D | esp_websocket_client.c | 343 esp_transport_handle_t ws = esp_transport_ws_init(tcp); in esp_websocket_client_init() local 344 ESP_WS_CLIENT_MEM_CHECK(TAG, ws, goto _websocket_init_fail); in esp_websocket_client_init() 346 esp_transport_set_default_port(ws, WEBSOCKET_TCP_DEFAULT_PORT); in esp_websocket_client_init() 347 esp_transport_list_add(client->transport_list, ws, "ws"); in esp_websocket_client_init()
|