mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-03 12:50:02 +00:00
New free function to get POST values.
This commit is contained in:
parent
e9d54c3ff5
commit
6a502df135
3 changed files with 60 additions and 0 deletions
14
src/cgi_post.hpp
Normal file
14
src/cgi_post.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <boost/container/flat_map.hpp>
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
|
||||
namespace tawashi {
|
||||
class CGIEnv;
|
||||
|
||||
namespace cgi {
|
||||
typedef boost::container::flat_map<boost::string_ref, boost::string_ref> PostMapType;
|
||||
|
||||
const PostMapType& read_post (const CGIEnv& parEnv);
|
||||
} //namespace cgi
|
||||
} //namespace tawashi
|
Loading…
Add table
Add a link
Reference in a new issue