Home » U++ Library support » U++ MT-multithreading and servers » Some additions to Skylark
Some additions to Skylark [message #40433] |
Thu, 01 August 2013 13:54 |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi,
I made following additions to Skylark code :
1) A new macro to create handlers with transfer progress support :
SKYLARK_PROGRESS(Handler, path, progress)
where 'progress' is a pointer to a function with following prototype :
int progress(int reason, Http &http, int size);
The progress function is called during various phases of transfer process.
2) Support for shared array variables
Any variable (POST or GET ones) with names ending in '[]' are stored by Skylark as ValueArrays, similarly how PHP does it.
3) Support for mixed POST/GET requests
now inside e form action a GET uri can be embedded and is parsed correctly.
Docs are updated with new features.
A 'SkylarkUpload' demo is available inside examples, showing a simple file uploader with progress bar support an multi-file capable.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:17:43 CET 2024
Total time taken to generate the page: 0.00944 seconds
|