Nui
Namespaces | Functions
fetch.cpp File Reference
#include "fetch.hpp"
#include <nui/shared/api/fetch_options.hpp>
#include <roar/curl/request.hpp>
#include <roar/url/url.hpp>
#include <roar/utility/base64.hpp>
#include <iostream>
Include dependency graph for fetch.cpp:

Namespaces

 Nui
 

Functions

 Nui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (FetchOptions, method, headers, body, verbose, followRedirects, maxRedirects, autoReferer, dontDecodeBody, verifyPeer, verifyHost)
 
 Nui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (FetchResponse, curlCode, status, proxyStatus, downloadSize, redirectUrl, body, headers) void registerFetch(Nui