NVIDIA DeepStream SDK API Reference

9.2 Release
ext::http::client::curl::HttpClient Class Reference

Detailed Description

Inheritance diagram for ext::http::client::curl::HttpClient:
Collaboration diagram for ext::http::client::curl::HttpClient:

Public Member Functions

 HttpClient ()
 
 HttpClient (const std::shared_ptr< sdk::common::ThreadInstrumentation > &thread_instrumentation)
 
 ~HttpClient () override
 
std::shared_ptr< opentelemetry::ext::http::client::Session > CreateSession (nostd::string_view url) noexcept override
 
bool CancelAllSessions () noexcept override
 
bool FinishAllSessions () noexcept override
 
void SetMaxSessionsPerConnection (std::size_t max_requests_per_connection) noexcept override
 
bool InternalCancelAllSessions () noexcept
 
uint64_t GetMaxSessionsPerConnection () const noexcept
 
void CleanupSession (uint64_t session_id)
 
CURLM * GetMultiHandle () noexcept
 
bool MaybeSpawnBackgroundThread ()
 
void ScheduleAddSession (uint64_t session_id)
 
void ScheduleAbortSession (uint64_t session_id)
 
void ScheduleRemoveSession (uint64_t session_id, HttpCurlEasyResource &&resource)
 
void SetBackgroundWaitFor (std::chrono::milliseconds ms)
 
void WaitBackgroundThreadExit ()
 
 HttpClient ()
 
 HttpClient (const std::shared_ptr< sdk::common::ThreadInstrumentation > &thread_instrumentation)
 
 ~HttpClient () override
 
std::shared_ptr< opentelemetry::ext::http::client::Session > CreateSession (nostd::string_view url) noexcept override
 
bool CancelAllSessions () noexcept override
 
bool FinishAllSessions () noexcept override
 
void SetMaxSessionsPerConnection (std::size_t max_requests_per_connection) noexcept override
 
bool InternalCancelAllSessions () noexcept
 
uint64_t GetMaxSessionsPerConnection () const noexcept
 
void CleanupSession (uint64_t session_id)
 
CURLM * GetMultiHandle () noexcept
 
bool MaybeSpawnBackgroundThread ()
 
void ScheduleAddSession (uint64_t session_id)
 
void ScheduleAbortSession (uint64_t session_id)
 
void ScheduleRemoveSession (uint64_t session_id, HttpCurlEasyResource &&resource)
 
void SetBackgroundWaitFor (std::chrono::milliseconds ms)
 
void WaitBackgroundThreadExit ()
 

Constructor & Destructor Documentation

◆ HttpClient() [1/4]

ext::http::client::curl::HttpClient::HttpClient ( )

◆ HttpClient() [2/4]

ext::http::client::curl::HttpClient::HttpClient ( const std::shared_ptr< sdk::common::ThreadInstrumentation > &  thread_instrumentation)

◆ ~HttpClient() [1/2]

ext::http::client::curl::HttpClient::~HttpClient ( )
override

◆ HttpClient() [3/4]

ext::http::client::curl::HttpClient::HttpClient ( )

◆ HttpClient() [4/4]

ext::http::client::curl::HttpClient::HttpClient ( const std::shared_ptr< sdk::common::ThreadInstrumentation > &  thread_instrumentation)

◆ ~HttpClient() [2/2]

ext::http::client::curl::HttpClient::~HttpClient ( )
override

Member Function Documentation

◆ CancelAllSessions() [1/2]

bool ext::http::client::curl::HttpClient::CancelAllSessions ( )
overridenoexcept

◆ CancelAllSessions() [2/2]

bool ext::http::client::curl::HttpClient::CancelAllSessions ( )
overridenoexcept

◆ CleanupSession() [1/2]

void ext::http::client::curl::HttpClient::CleanupSession ( uint64_t  session_id)

◆ CleanupSession() [2/2]

void ext::http::client::curl::HttpClient::CleanupSession ( uint64_t  session_id)

◆ CreateSession() [1/2]

std::shared_ptr<opentelemetry::ext::http::client::Session> ext::http::client::curl::HttpClient::CreateSession ( nostd::string_view  url)
overridenoexcept

◆ CreateSession() [2/2]

std::shared_ptr<opentelemetry::ext::http::client::Session> ext::http::client::curl::HttpClient::CreateSession ( nostd::string_view  url)
overridenoexcept

◆ FinishAllSessions() [1/2]

bool ext::http::client::curl::HttpClient::FinishAllSessions ( )
overridenoexcept

◆ FinishAllSessions() [2/2]

bool ext::http::client::curl::HttpClient::FinishAllSessions ( )
overridenoexcept

◆ GetMaxSessionsPerConnection() [1/2]

uint64_t ext::http::client::curl::HttpClient::GetMaxSessionsPerConnection ( ) const
inlinenoexcept

◆ GetMaxSessionsPerConnection() [2/2]

uint64_t ext::http::client::curl::HttpClient::GetMaxSessionsPerConnection ( ) const
inlinenoexcept

◆ GetMultiHandle() [1/2]

CURLM* ext::http::client::curl::HttpClient::GetMultiHandle ( )
inlinenoexcept

◆ GetMultiHandle() [2/2]

CURLM* ext::http::client::curl::HttpClient::GetMultiHandle ( )
inlinenoexcept

◆ InternalCancelAllSessions() [1/2]

bool ext::http::client::curl::HttpClient::InternalCancelAllSessions ( )
noexcept

◆ InternalCancelAllSessions() [2/2]

bool ext::http::client::curl::HttpClient::InternalCancelAllSessions ( )
noexcept

◆ MaybeSpawnBackgroundThread() [1/2]

bool ext::http::client::curl::HttpClient::MaybeSpawnBackgroundThread ( )

◆ MaybeSpawnBackgroundThread() [2/2]

bool ext::http::client::curl::HttpClient::MaybeSpawnBackgroundThread ( )

◆ ScheduleAbortSession() [1/2]

void ext::http::client::curl::HttpClient::ScheduleAbortSession ( uint64_t  session_id)

◆ ScheduleAbortSession() [2/2]

void ext::http::client::curl::HttpClient::ScheduleAbortSession ( uint64_t  session_id)

◆ ScheduleAddSession() [1/2]

void ext::http::client::curl::HttpClient::ScheduleAddSession ( uint64_t  session_id)

◆ ScheduleAddSession() [2/2]

void ext::http::client::curl::HttpClient::ScheduleAddSession ( uint64_t  session_id)

◆ ScheduleRemoveSession() [1/2]

void ext::http::client::curl::HttpClient::ScheduleRemoveSession ( uint64_t  session_id,
HttpCurlEasyResource &&  resource 
)

◆ ScheduleRemoveSession() [2/2]

void ext::http::client::curl::HttpClient::ScheduleRemoveSession ( uint64_t  session_id,
HttpCurlEasyResource &&  resource 
)

◆ SetBackgroundWaitFor() [1/2]

void ext::http::client::curl::HttpClient::SetBackgroundWaitFor ( std::chrono::milliseconds  ms)

◆ SetBackgroundWaitFor() [2/2]

void ext::http::client::curl::HttpClient::SetBackgroundWaitFor ( std::chrono::milliseconds  ms)

◆ SetMaxSessionsPerConnection() [1/2]

void ext::http::client::curl::HttpClient::SetMaxSessionsPerConnection ( std::size_t  max_requests_per_connection)
overridenoexcept

◆ SetMaxSessionsPerConnection() [2/2]

void ext::http::client::curl::HttpClient::SetMaxSessionsPerConnection ( std::size_t  max_requests_per_connection)
overridenoexcept

◆ WaitBackgroundThreadExit() [1/2]

void ext::http::client::curl::HttpClient::WaitBackgroundThreadExit ( )

◆ WaitBackgroundThreadExit() [2/2]

void ext::http::client::curl::HttpClient::WaitBackgroundThreadExit ( )

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