Game Develop C++ Platform: NetworkTools.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
NetworkTools.h
Go to the documentation of this file.
1
6 #ifndef NETWORKTOOLS_H
7 #define NETWORKTOOLS_H
8 #include <string>
9 namespace gd {class Variable;}
10
11 void GD_API SendDataToPhpWebPage(const std::string & webpageurl,
12 const std::string & password,
13 const std::string & data1,
14 const std::string & data2,
15 const std::string & data3,
16 const std::string & data4,
17 const std::string & data5,
18 const std::string & data6);
19 void GD_API SendHttpRequest(const std::string & host, const std::string & uri, const std::string & body,
20 const std::string & method, const std::string & contentType, gd::Variable & response);
21 void GD_API DownloadFile( const std::string & host, const std::string & uri, const std::string & outputfilename );
22
23 std::string GD_API VariableStructureToJSON(const gd::Variable & variable);
24 void GD_API JSONToVariableStructure(const std::string & JSON, gd::Variable & variable);
25
26 #endif // NETWORKTOOLS_H
27