dca_interface
6.3.4
|
#include <wac_inputdata.h>
Definition of the WacInputData class.
A WacInputData object is used as input for a WAC classification.
The WacInputData must contain at least one of the 3 different input parts of a web request
At least one input field must be filled in. If more than one is set up, the classification may be more accurate, but will also require more time to complete. Some results, for example Action == "DOWNLOAD_FILE", can only be obtained if a request/response was set up.
Definition at line 49 of file wac_inputdata.h.
Public Member Functions | |
void | setUrlObject (const dca::Url &aUrl) |
Sets up the Input Data object by using the given dca::Url object. | |
void | setRequestData (const char *data, size_t data_length) |
Sets up the buffer containing the (HTTP) request. This is assumed to contain US ASCII 7-Bit characters only. | |
void | setResponse (const char *data, size_t data_length) |
Sets up the buffer containing the (HTTP) response. This is assumed to contain US ASCII 7-Bit characters only. | |