mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Skylark: Http::GetRequestContent
git-svn-id: svn://ultimatepp.org/upp/trunk@8409 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fea3f0e7e1
commit
bbd829ca3e
2 changed files with 8 additions and 1 deletions
|
|
@ -117,6 +117,8 @@ public:
|
|||
int GetLength() const { return atoi(GetHeader("content-length")); }
|
||||
String GetPeerAddr() const;
|
||||
|
||||
String GetRequestContent() const { return content; }
|
||||
|
||||
String GetHandlerId() const { return handlerid; }
|
||||
|
||||
Value operator[](const char *id) const { return Renderer::operator[](id); }
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ It provides data associated with request, like POST or GET form
|
|||
values, session variables or cookie values, and is used to store
|
||||
any `'output`' values like response fields, cookies, new values
|
||||
of session variables..&]
|
||||
[s2;%% &]
|
||||
[s3;%% &]
|
||||
[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&]
|
||||
[s3; &]
|
||||
[s5;:Http`:`:operator`(`)`(const char`*`,const Value`&`): [_^Http^ Http][@(0.0.255) `&]_[* o
|
||||
|
|
@ -207,6 +207,11 @@ cpSocket`::GetPeerAddr()]. This function may return empty string
|
|||
if called when socket is not available (e.g. after calling [^topic`:`/`/Skylark`/src`/Http`$en`-us`#Http`:`:Finalize`(`)^ H
|
||||
ttp`::Finalize()]).&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Http`:`:GetRequestContent`(`)const: [_^String^ String]_[* GetRequestContent]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2;%% Returns the content of request.&]
|
||||
[s3; &]
|
||||
[s4;%% &]
|
||||
[s5;:Http`:`:SetCookie`(const char`*`,const String`&`,Time`,const char`*`,const char`*`,bool`,bool`): [_^Http^ H
|
||||
ttp][@(0.0.255) `&]_[* SetCookie]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 id],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue