This section explains how to use the sample HTTP client from the command line.
This section explains how to use a compiled binary of the sample HTTP Client. Explaining the implementation of the sample HTTP client is beyond the scope of this documentation. The source code for the sample HTTP client is located in ./http_service directory in the KAV SDK distribution package.
What is the sample HTTP client
Sample HTTP client is a console application which demonstrates how a client for KAV HTTPD can be implemented. You can also use it to scan files from the console.
Sample HTTP client makes HTTP requests to KAV HTTPD. It supports TCP and Unix socket connection types and can pass paths to files or file contents to KAV HTTPD.
When KAV HTTPD finishes scanning files, it sends a response to the sample HTTP client. The sample HTTP client outputs these scan result to standard output. For more information about the scan results, see section "Scan results for the sample HTTP client".