LLVM  15.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"

Collaboration diagram for llvm::HTTPRequest:
Collaboration graph
[legend]

Public Member Functions

 HTTPRequest (StringRef Url)
 

Public Attributes

SmallString< 128 > Url
 
HTTPMethod Method = HTTPMethod::GET
 
bool FollowRedirects = true
 

Detailed Description

A stateless description of an outbound HTTP request.

Definition at line 28 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 31 of file HTTPClient.h.

◆ Method

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

Definition at line 30 of file HTTPClient.h.

◆ Url

SmallString<128> llvm::HTTPRequest::Url

Definition at line 29 of file HTTPClient.h.

Referenced by HTTPRequest().


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