game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
DownloadRequest Struct Reference

#include <file_download_service.h>

Public Attributes

bool allowResume = true
std::string checksumType
std::string expectedChecksum
std::map< std::string, std::string > headers
std::string localPath
int timeoutSeconds = 300
std::string url

Detailed Description

Definition at line 41 of file file_download_service.h.

Member Data Documentation

◆ allowResume

bool DownloadRequest::allowResume = true

Definition at line 47 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ checksumType

std::string DownloadRequest::checksumType

Definition at line 46 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ expectedChecksum

std::string DownloadRequest::expectedChecksum

Definition at line 45 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ headers

std::map<std::string, std::string> DownloadRequest::headers

Definition at line 49 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ localPath

std::string DownloadRequest::localPath

Definition at line 44 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ timeoutSeconds

int DownloadRequest::timeoutSeconds = 300

Definition at line 48 of file file_download_service.h.

Referenced by FileDownloadService::download().

◆ url

std::string DownloadRequest::url

Definition at line 43 of file file_download_service.h.

Referenced by FileDownloadService::download().


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