wss_server sample
ws_handler()
is only used within wss_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
wss_server sample
ws_handler()
ws_handler() function
Syntax
Show:
Summary
Declaration
from
wss_server_example.c:36
static
esp_err_t
ws_handler
(
httpd_req_t
*
req
)
;
Arguments
Argument
req
Examples
References
from
examples
Code
Location
static
esp_err_t
ws_handler
(
httpd_req_t
*
req
)
wss_server_example.c:36
.
handler
=
ws_handler
,
wss_server_example.c:121
Call Tree
from
examples
ws_handler()
calls 10 functions:
All items filtered out
ws_handler()
free()
calloc()
esp_log_timestamp()
esp_log_write()
httpd_ws_recv_frame()
httpd_ws_send_frame()
httpd_ws_get_fd_info()
httpd_req_to_sockfd()
httpd_get_global_user_ctx()
wss_keep_alive_client_is_active()
All items filtered out
Data Use
from
examples
ws_handler()
reads 16 variables and writes 3 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
http_method::HTTP_GET
httpd_req::handle
httpd_req::method
httpd_ws_frame::type
httpd_ws_frame::payload
httpd_ws_frame::len
httpd_ws_type_t::HTTPD_WS_TYPE_TEXT
httpd_ws_type_t::HTTPD_WS_TYPE_CLOSE
httpd_ws_type_t::HTTPD_WS_TYPE_PING
httpd_ws_type_t::HTTPD_WS_TYPE_PONG
TAG
All items filtered out
ws_handler()
httpd_ws_frame::type
httpd_ws_frame::payload
httpd_ws_frame::len
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
ws_handler()
is implemented by 1 functions:
All items filtered out
ws_handler()
httpd_uri::handler
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out