advanced_tests sample
basic_handlers
is only used within advanced_tests sample.
Symbol previews are coming soon...
Symbols
loading (1/3)...
Files
loading (1/3)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
advanced_tests sample
basic_handlers
basic_handlers variable
Syntax
Show:
Summary
Declaration
from
tests.c:305
static
const
httpd_uri_t
basic_handlers
[
]
=
{
{
.
uri
=
"/hello/type_html"
,
.
method
=
HTTP_GET
,
.
handler
=
hello_type_get_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/test_header"
,
.
method
=
HTTP_GET
,
.
handler
=
test_header_get_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/hello"
,
.
method
=
HTTP_GET
,
.
handler
=
hello_get_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/hello/status_500"
,
.
method
=
HTTP_GET
,
.
handler
=
hello_status_get_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/echo"
,
.
method
=
HTTP_POST
,
.
handler
=
echo_post_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/echo"
,
.
method
=
HTTP_PUT
,
.
handler
=
echo_post_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/leftover_data"
,
.
method
=
HTTP_POST
,
.
handler
=
leftover_data_post_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/adder"
,
.
method
=
HTTP_POST
,
.
handler
=
adder_post_handler
,
.
user_ctx
=
NULL
,
}
,
{
.
uri
=
"/async_data"
,
.
method
=
HTTP_GET
,
.
handler
=
async_get_handler
,
.
user_ctx
=
NULL
,
}
}
;
Examples
References
from
examples
Code
Location
Referrer
static
const
httpd_uri_t
basic_handlers
[
]
=
{
tests.c:305
static
const
int
basic_handlers_no
=
sizeof
(
basic_handlers
)
/
sizeof
(
httpd_uri_t
)
;
tests.c:353
if
(
httpd_register_uri_handler
(
hd
,
&
basic_handlers
[
i
]
)
!=
ESP_OK
)
{
tests.c:361
register_basic_handlers()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
basic_handlers
is read by 1 function:
All items filtered out
basic_handlers
register_basic_handlers()
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