commit | b5ff5d3282b0e1c98c8ac4ca4f9eac30ffe8ff39 | [log] [tgz] |
---|---|---|
author | Piotr Pawliczek <pawliczek@google.com> | Mon Apr 03 00:42:41 2023 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 04 18:21:19 2023 |
tree | 377b0577fa128bef36a11eb8f26a2a8c3d8394b2 | |
parent | d9a5f049bce119d34c1ece031fbac1f53a199cda [diff] |
libipp: Update documentation about Frame class Update documentation about Frame class and related classes Collection and Attribute. BUG=b:193540670 TEST=none Change-Id: Ia8c71fe652a3d70056640123148b64434e609412 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/4393108 Reviewed-by: Benjamin Gordon <bmgordon@chromium.org> Auto-Submit: Piotr Pawliczek <pawliczek@chromium.org> Tested-by: Piotr Pawliczek <pawliczek@chromium.org> Commit-Queue: Piotr Pawliczek <pawliczek@chromium.org> NOKEYCHECK=True GitOrigin-RevId: ad218c5be35c3de82cff909e1684659140b5ffa8
General C++ library for building and parsing IPP frames. IPP stands for Internet Printing Protocol and is defined in several documents. This implementation is based mainly on the following sources:
All required C++ classes, types and functions are declared in ipp
namespace.
IPP frames are sent/received as a payload of HTTP POST requests/responses. This library helps to build and parse raw IPP frames, but does not support the HTTP protocol. You have to use some other library to process HTTP packages, like libbrillo or libcurl. You can also dump a raw IPP frame to a file and send it from the command line with curl, e.g.:
curl -X POST "http://my.server:631/mypath" --header "Content-Type: application/ipp" --data-binary @ipp.frame
Then obtained response can be read from the file and parsed by libipp.
In this documentation, the following typographical conventions are used:
monospace
is used to mark entities from the source code.