openthread-br
0.3.0-72c0388
|
Go to the documentation of this file.
34 #ifndef OTBR_REST_REQUEST_HPP_
35 #define OTBR_REST_REQUEST_HPP_
66 void SetUrl(
const char *aString,
size_t aLength);
75 void SetBody(
const char *aString,
size_t aLength);
124 std::string
GetUrl(
void)
const;
135 size_t mContentLength;
144 #endif // OTBR_REST_REQUEST_HPP_
void ResetReadComplete(void)
Definition: request.cpp:95
bool IsComplete(void) const
Definition: request.cpp:100
std::string GetBody() const
Definition: request.cpp:64
std::string GetUrl(void) const
Definition: request.cpp:69
Definition: request.hpp:50
void SetReadComplete(void)
Definition: request.cpp:90
Request(void)
Definition: request.cpp:34
void SetUrl(const char *aString, size_t aLength)
Definition: request.cpp:39
void SetBody(const char *aString, size_t aLength)
Definition: request.cpp:44
HttpMethod GetMethod() const
Definition: request.cpp:59
void SetMethod(int32_t aMethod)
Definition: request.cpp:54
void SetContentLength(size_t aContentLength)
Definition: request.cpp:49