Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
http.hpp
1
#pragma once
2
3
#include <iostream>
4
#include <samchon/library/HTTPLoader.hpp>
5
6
namespace
samchon
7
{
8
namespace
examples
9
{
10
namespace
http
11
{
12
void
main()
13
{
14
using namespace
std
;
15
using namespace
samchon::library
;
16
17
HTTPLoader
loader(
"http://samchon.org/simulation/php/corporate/list.php"
, HTTPLoader::GET);
18
URLVariables
data;
19
{
20
data[
"c"
] =
"order"
;
21
data[
"a"
] =
"outsourcing"
;
22
data[
"page"
] =
"2"
;
23
}
24
25
//cout << "#size: " << loader.load(data).size() << endl;
26
string
&str = loader.load(data).read<
string
>();
27
cout << str;
28
};
29
};
30
};
31
};
std
samchon::library
Definition:
ChatRoomArray.hpp:7
samchon::library::HTTPLoader
A http, web-page loader.
Definition:
HTTPLoader.hpp:26
samchon
Definition:
ByteArray.hpp:6
samchon::library::URLVariables
URLVariables class is for representing variables of HTTP.
Definition:
URLVariables.hpp:28
cpp
samchon
examples
http.hpp
Generated by
1.8.11