ofxHTTP
A collection of tools for HTTP.
|
A callback for raw HTTP POST forms. More...
#include <PostRouteEvents.h>
Public Member Functions | |
PostEventArgs (ServerEventArgs &evt, const std::string &postId, const IO::ByteBuffer &data) | |
virtual | ~PostEventArgs () |
Destroy the PostEventArgs. | |
const IO::ByteBuffer & | getBuffer () const |
Get the raw POST form data. More... | |
Public Member Functions inherited from ofx::HTTP::BasePostEventArgs | |
BasePostEventArgs (ServerEventArgs &e, const std::string &postId) | |
virtual | ~BasePostEventArgs () |
Destroy the BasePostEventArgs. | |
const std::string & | getPostId () const |
The post id. More... | |
Public Member Functions inherited from ofx::HTTP::ServerEventArgs | |
ServerEventArgs (Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response, AbstractSession &session) | |
Construct the ServerEventArgs. More... | |
virtual | ~ServerEventArgs () |
Destroy the ServerEventArgs. | |
Poco::Net::HTTPServerRequest & | request () |
Get the Poco::Net::HTTPServerRequest. More... | |
Poco::Net::HTTPServerResponse & | response () |
Get the Poco::Net::HTTPServerResponse. More... | |
AbstractSession & | session () |
Get the session associated with this event. More... | |
Protected Attributes | |
const IO::ByteBuffer & | _data |
The raw form data sent with the POST. | |
Protected Attributes inherited from ofx::HTTP::BasePostEventArgs | |
std::string | _postId |
The post id. | |
Protected Attributes inherited from ofx::HTTP::ServerEventArgs | |
Poco::Net::HTTPServerRequest & | _request |
A reference to the server request. | |
Poco::Net::HTTPServerResponse & | _response |
Callbacks are permitted to set the response. More... | |
AbstractSession & | _session |
The session associated with the event. | |
A callback for raw HTTP POST forms.
|
inline |
Get the raw POST form data.