ESP-IDF
+
0
/2 examples
SourceVu will show references to
httpd_ws_send_frame_async()
from the following samples and libraries:
wss_server sample
ws_echo_server sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
httpd_ws_send_frame_async()
httpd_ws_send_frame_async() function
Low level send of a WebSocket frame out of the scope of current request using internally configured httpd send function This API should rarely be called directly, with an exception of asynchronous send using httpd_queue_work.
Syntax
Show:
Summary
Declaration
Definition
from
esp_http_server.h:1764
esp_err_t
httpd_ws_send_frame_async
(
httpd_handle_t
hd
,
int
fd
,
httpd_ws_frame_t
*
frame
)
;
Implemented in
httpd_ws.c:375
Arguments
Argument
Description
hd
Server instance data
fd
Socket descriptor for sending data
frame
WebSocket frame
Return value
- ESP_OK : On successful - ESP_FAIL : When socket errors occurs - ESP_ERR_INVALID_STATE : Handshake was already done beforehand - ESP_ERR_INVALID_ARG : Argument is invalid (null or non-WebSocket)
Examples
httpd_ws_send_frame_async()
is referenced by 2 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out