ESP-IDF
+
0
/2 examples
SourceVu will show references to
httpd_ws_frame::payload
from the following samples and libraries:
wss_server sample
ws_echo_server sample
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
ESP-IDF
lwIP
FreeRTOS
cJSON
mbedTLS
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
httpd_ws_frame::payload
httpd_ws_frame::payload field
Pre-allocated data buffer
Syntax
Show:
Summary
Declaration
from
esp_http_server.h:1710
uint8_t
*
payload
;
Examples
httpd_ws_frame::payload
is referenced by 2 libraries and example projects:
wss_server sample
ws_echo_server sample
References
from
0/2
examples
Code
Location
Referrer
uint8_t
*
payload
;
/*!< Pre-allocated data buffer */
esp_http_server.h:1710
if
(
frame
->
payload
==
NULL
)
{
httpd_ws.c:340
httpd_ws_recv_frame()
int
read_len
=
httpd_recv_with_opt
(
req
,
(
char
*
)
frame
->
payload
+
offset
,
left_len
,
false
)
;
httpd_ws.c:349
httpd_ws_recv_frame()
httpd_ws_unmask_payload
(
frame
->
payload
,
frame
->
len
,
aux
->
mask_key
)
;
httpd_ws.c:361
httpd_ws_recv_frame()
if
(
frame
->
len
>
0
&&
frame
->
payload
!=
NULL
)
{
httpd_ws.c:425
httpd_ws_send_frame_async()
if
(
sess
->
send_fn
(
hd
,
fd
,
(
const
char
*
)
frame
->
payload
,
frame
->
len
,
0
)
<
0
)
{
httpd_ws.c:426
httpd_ws_send_frame_async()
frame
.
payload
=
frame_buf
;
httpd_ws.c:485
httpd_ws_get_frame_type()
frame
.
payload
=
frame_buf
;
httpd_ws.c:503
httpd_ws_get_frame_type()
frame
.
payload
=
NULL
;
httpd_ws.c:512
httpd_ws_get_frame_type()
Call Tree
from
0/2
examples
All items filtered out
All items filtered out
Data Use
from
0/2
examples
httpd_ws_frame::payload
is written by 1 function and is read by 2 functions:
httpd_ws_get_frame_type()
All items filtered out
httpd_ws_frame::payload
httpd_ws_recv_frame()
httpd_ws_send_frame_async()
All items filtered out
Class Tree
from
0/2
examples
All items filtered out
All items filtered out
Override Tree
from
0/2
examples
All items filtered out
All items filtered out
Implementations
from
0/2
examples
All items filtered out
All items filtered out
Instances
from
0/2
examples
Lifecycle
from
0/2
examples
All items filtered out
All items filtered out