Kurlyk
Loading...
Searching...
No Matches
runtime.hpp File Reference

Provides manual initialization and shutdown functions for the Kurlyk network system. More...

Go to the source code of this file.

Namespaces

namespace  kurlyk
 Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions.
 

Macros

#define _KURLYK_STARTUP_RUNTIME_HPP_INCLUDED
 

Functions

void kurlyk::init (const bool use_async=true)
 Initializes the Kurlyk library, setting up necessary managers and the network worker.
 
void kurlyk::deinit ()
 Deinitializes the Kurlyk library, stopping the network worker and releasing resources.
 
void kurlyk::process ()
 Processes pending requests (used in synchronous mode).
 
void kurlyk::shutdown ()
 Shuts down all network operations, resetting the state of the network worker and clearing pending requests.
 
void kurlyk::add_error_handler (::kurlyk::core::NetworkWorker::ErrorHandler handler)
 Registers a global error handler for the network worker.
 

Detailed Description

Provides manual initialization and shutdown functions for the Kurlyk network system.

Definition in file runtime.hpp.

Macro Definition Documentation

◆ _KURLYK_STARTUP_RUNTIME_HPP_INCLUDED

#define _KURLYK_STARTUP_RUNTIME_HPP_INCLUDED

Definition at line 3 of file runtime.hpp.