LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::HTTPRequest Struct Reference

A stateless description of an outbound HTTP request. More...

#include "llvm/Debuginfod/HTTPClient.h"

Public Member Functions

 HTTPRequest (StringRef Url)
 

Public Attributes

SmallString< 128 > Url
 
SmallVector< std::string, 0 > Headers
 
HTTPMethod Method = HTTPMethod::GET
 
bool FollowRedirects = true
 

Detailed Description

A stateless description of an outbound HTTP request.

Definition at line 30 of file HTTPClient.h.

Constructor & Destructor Documentation

◆ HTTPRequest()

HTTPRequest::HTTPRequest ( StringRef  Url)

Definition at line 27 of file HTTPClient.cpp.

References llvm::SmallString< InternalLen >::str(), and Url.

Member Data Documentation

◆ FollowRedirects

bool llvm::HTTPRequest::FollowRedirects = true

Definition at line 34 of file HTTPClient.h.

◆ Headers

SmallVector<std::string, 0> llvm::HTTPRequest::Headers

Definition at line 32 of file HTTPClient.h.

◆ Method

HTTPMethod llvm::HTTPRequest::Method = HTTPMethod::GET

Definition at line 33 of file HTTPClient.h.

◆ Url

SmallString<128> llvm::HTTPRequest::Url

Definition at line 31 of file HTTPClient.h.

Referenced by HTTPRequest().


The documentation for this struct was generated from the following files: