LlamaLib  v2.0.2
Cross-platform library for local LLMs
Loading...
Searching...
No Matches
IOSHttpTransport Class Reference

Public Member Functions

 IOSHttpTransport (const std::string &host, bool use_ssl, int port=-1)
 
HttpResult post_request (const std::string &path, const std::string &body, const std::vector< std::pair< std::string, std::string > > &headers, CharArrayFnWithContext callback=nullptr, void *callback_context=nullptr, bool *cancel_flag=nullptr)
 
void set_timeout (double timeout_seconds)
 
std::string get_last_error () const
 

Detailed Description

Definition at line 18 of file ios_http_transport.h.


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