ESPHome
2025.2.2
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
http_request
http_request.cpp
Go to the documentation of this file.
1
#include "
http_request.h
"
2
3
#include "
esphome/core/log.h
"
4
5
#include <cinttypes>
6
7
namespace
esphome
{
8
namespace
http_request {
9
10
static
const
char
*
const
TAG =
"http_request"
;
11
12
void
HttpRequestComponent::dump_config
() {
13
ESP_LOGCONFIG(TAG,
"HTTP Request:"
);
14
ESP_LOGCONFIG(TAG,
" Timeout: %ums"
, this->
timeout_
);
15
ESP_LOGCONFIG(TAG,
" User-Agent: %s"
, this->
useragent_
);
16
ESP_LOGCONFIG(TAG,
" Follow redirects: %s"
, YESNO(this->
follow_redirects_
));
17
ESP_LOGCONFIG(TAG,
" Redirect limit: %d"
, this->
redirect_limit_
);
18
if
(this->
watchdog_timeout_
> 0) {
19
ESP_LOGCONFIG(TAG,
" Watchdog Timeout: %"
PRIu32
"ms"
, this->
watchdog_timeout_
);
20
}
21
}
22
23
}
// namespace http_request
24
}
// namespace esphome
esphome::http_request::HttpRequestComponent::redirect_limit_
uint16_t redirect_limit_
Definition:
http_request.h:139
esphome::http_request::HttpRequestComponent::timeout_
uint16_t timeout_
Definition:
http_request.h:140
esphome::http_request::HttpRequestComponent::useragent_
const char * useragent_
Definition:
http_request.h:137
esphome::http_request::HttpRequestComponent::watchdog_timeout_
uint32_t watchdog_timeout_
Definition:
http_request.h:141
http_request.h
esphome::http_request::HttpRequestComponent::dump_config
void dump_config() override
Definition:
http_request.cpp:12
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
log.h
esphome::http_request::HttpRequestComponent::follow_redirects_
bool follow_redirects_
Definition:
http_request.h:138
Generated by
1.8.13