LLVM: llvm::HTTPClient Class Reference (original) (raw)
A reusable client that can perform HTTPRequests through a network socket. More...
#include "[llvm/Debuginfod/HTTPClient.h](HTTPClient%5F8h%5Fsource.html)"
| Static Public Member Functions |
|
| static bool |
isAvailable () |
|
Returns true only if LLVM has been compiled with a working HTTPClient. |
| static void |
initialize () |
|
Must be called at the beginning of a program, while it is a single thread. |
| static void |
cleanup () |
|
Must be called at the end of a program, while it is a single thread. |
A reusable client that can perform HTTPRequests through a network socket.
Definition at line 53 of file HTTPClient.h.
| HTTPClient::HTTPClient ( ) |
default |
◆ ~HTTPClient()
| HTTPClient::~HTTPClient ( ) |
default |
◆ cleanup()
| void HTTPClient::cleanup ( ) |
static |
◆ initialize()
| void HTTPClient::initialize ( ) |
static |
Must be called at the beginning of a program, while it is a single thread.
Definition at line 147 of file HTTPClient.cpp.
◆ isAvailable()
| bool HTTPClient::isAvailable ( ) |
static |
◆ responseCode()
◆ setTimeout()
| void HTTPClient::setTimeout |
( |
std::chrono::milliseconds |
Timeout |
) |
◆ IsInitialized
| bool HTTPClient::IsInitialized = false |
static |
The documentation for this class was generated from the following files: