This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
#include "ofURLFileLoader.h"
#include "ofAppRunner.h"
#include "ofUtils.h"
#include <curl/curl.h>
#include "ofThreadChannel.h"
#include "ofThread.h"
Classes | |
class | ofURLFileLoaderImpl |
Functions | |
ofEvent< ofHttpResponse > & | ofURLResponseEvent () |
ofHttpResponse | ofLoadURL (const string &url) |
int | ofLoadURLAsync (const string &url, const string &name) |
ofHttpResponse | ofSaveURLTo (const string &url, const of::filesystem::path &path) |
int | ofSaveURLAsync (const string &url, const of::filesystem::path &path) |
void | ofRemoveURLRequest (int id) |
remove an active HTTP request from the queue | |
void | ofRemoveAllURLRequests () |
remove all active HTTP requests from the queue | |
void | ofStopURLLoader () |
stop & remove all active and waiting HTTP requests | |
void | ofURLFileLoaderShutdown () |
Function Documentation
◆ ofLoadURL()
ofHttpResponse ofLoadURL | ( | const string & | url | ) |
◆ ofLoadURLAsync()
int ofLoadURLAsync | ( | const string & | url, |
const string & | name | ||
) |
◆ ofRemoveAllURLRequests()
void ofRemoveAllURLRequests | ( | ) |
remove all active HTTP requests from the queue
◆ ofRemoveURLRequest()
void ofRemoveURLRequest | ( | int | id | ) |
remove an active HTTP request from the queue
- Parameters
-
id HTTP request id
◆ ofSaveURLAsync()
int ofSaveURLAsync | ( | const string & | url, |
const of::filesystem::path & | path | ||
) |
◆ ofSaveURLTo()
ofHttpResponse ofSaveURLTo | ( | const string & | url, |
const of::filesystem::path & | path | ||
) |
◆ ofStopURLLoader()
void ofStopURLLoader | ( | ) |
stop & remove all active and waiting HTTP requests
◆ ofURLFileLoaderShutdown()
void ofURLFileLoaderShutdown | ( | ) |
◆ ofURLResponseEvent()
ofEvent< ofHttpResponse > & ofURLResponseEvent | ( | ) |