Nui
Namespaces | Functions
fetch.hpp File Reference
#include <nui/shared/api/fetch_options.hpp>
#include <string>
#include <functional>
#include <optional>
Include dependency graph for fetch.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Nui
 

Functions

void Nui::fetch (std::string const &uri, FetchOptions const &options, std::function< void(std::optional< FetchResponse > const &)> callback)
 Simplified fetch, that uses curl in the backend to fetch data. More...
 
void Nui::fetch (std::string const &uri, std::function< void(std::optional< FetchResponse > const &)> callback)