Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  mdelfede
Messages: 1307
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
Previous Topic: Ask for testing - Skylark with upload progress
Next Topic: url-encoded binary data in URL query string - how to decode properly?
Goto Forum:
  


Current Time: Wed Apr 24 22:03:48 CEST 2024

Total time taken to generate the page: 0.04612 seconds