Nui
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
c
d
e
f
g
i
m
n
p
r
s
t
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Typedefs
a
b
c
d
e
f
i
n
o
p
r
s
t
v
Enumerations
Related Functions
c
d
h
i
o
r
s
w
Files
File List
File Members
All
_
a
c
d
e
f
i
j
l
m
n
p
s
u
w
Functions
Variables
Typedefs
Macros
_
a
c
d
e
i
j
m
n
p
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
nui
include
nui
frontend
api
fetch.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
nui/shared/api/fetch_options.hpp
>
4
5
#include <string>
6
#include <functional>
7
#include <optional>
8
9
namespace
Nui
10
{
19
void
fetch
(
20
std::string
const
& uri,
21
FetchOptions
const
& options,
22
std::function<
void
(std::optional<FetchResponse>
const
&)> callback);
23
void
fetch
(std::string
const
& uri, std::function<
void
(std::optional<FetchResponse>
const
&)> callback);
24
}
fetch_options.hpp
Nui
Definition:
file_dialog.hpp:6
Nui::fetch
void 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.
Definition:
fetch.cpp:11
Generated by
1.9.1