Download GSHTTPClient v1.3 *Compiled for A5.5+* *BETA* w/ source
Download GSHTTPClient v1.1 *Compiled for A5.5+*
Download GSHTTPClient v1.0
Download GSHTTPClient v1.3 + GSCrypt v1.0 *Compiled for A5.5+* w/ source
Use:
Free for all GameStudio projects without restrictions.
Disclaimer: If it blows up your machine it's not our fault.
Installation:
Unzip gshttp.wdl into your templates directory.
Unzip GSHTTP.dll into your work directory.
Publishing:
You will have to copy the DLL manually to your .cd directory when you publish.
Versions:
4/09/2004 -- v1.3 -- Added HTTP_Abort() and multiple HTTP clients simaltaniously.
4/04/2004 -- v1.2 -- Added HTTP_PostFile().
-------------------- Added HTTP_PostFile2().
-------------------- Fixed HTTP_Post() to post the data_str and not the URL.
1/12/2002 -- v1.1 -- Added HTTP_SaveToFile().
11/1/2002 -- v1.0 -- Released.
Usage:
See gshttp.wdl for a list of functions and their parameters.
Functions:
// All return 1 if error else returns 0 unless otherwise stated.
// id in every function is the number of the HTTP client. Start at zero.
// Create HTTP Client
dllfunction HTTP_Create(id);
// HTTP GET the URL in url_str
dllfunction HTTP_Get(id,url_str);
// HTTP POST the URL in url_str and pass data_str as the post data
dllfunction HTTP_Post(id,url_str,data_str);
// HTTP POST the URL in url_str and upload the file file_str via multipart mime
// File_str is Directory of the Acknex EXE + file_str
// Content type for the upload is set to application/x-compress
dllfunction HTTP_PostFile(id,url_str,file_str);
// HTTP POST the URL in url_str and upload the file file_str as the post data
// File_str is Directory of the Acknex EXE + file_str
dllfunction HTTP_PostFile2(id,url_str,file_str);
// Tells the client to abort working.
dllfunction HTTP_Abort(id);
// Check to see if HTTP_Get() or HTTP_Post() are currently working
dllfunction HTTP_IsWorking(id);
// Fill results_str with the results from HTTP_Get() or HTTP_Post().
// If there was an HTTP error, fills results_str with error number.
dllfunction HTTP_Results(id,results_str);
// Save the results from HTTP_Get() or HTTP_Post() to a file named from the string filename_str.
// If there was an HTTP error, the file will contain an error number.
// The path of the acknex exe is added to the beginning of filename_str.
// To save into the main dir of your application filename_str would equal "blah.mdl".
// To save into a sub dir of your main application dir your filename_str would equal "\\blah\\blah.mdl".
// Back slashs in AckNex strings need to be double slashed or they are ignored.
dllfunction HTTP_SaveToFile(id,filename_str);
// Free HTTP Client
dllfunction HTTP_Free(id);
|