chromium_libipp:基于 C++ 的 IPP 帧构建与解析库项目

可用于构建和解析 IPP(互联网打印协议)帧,适用于处理打印相关网络通信。核心功能包括生成原始 IPP 帧、解析 IPP 响应,基于 RFC 8010、RFC 8011 及 CUPS 实现,需配合 HTTP 库使用。【此简介由AI生成】

Branch6Tags0
FilesLast commitLast update
3 years ago
3 years ago
6 years ago
3 years ago
3 years ago
3 years ago
4 years ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1 year ago
3 years ago
3 years ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1 year ago
3 years ago
3 years ago
7 years ago
3 years ago
3 years ago
3 years ago
1 year ago
3 years ago
3 years ago

libipp

What is this?

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:

How to use it?

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.

Documentation conventions

In this documentation, the following typographical conventions are used:

  • boldface denotes entities defined in the IPP specifications (see the links mentioned above);
  • italics indicates a name of a library or a (shell) command;
  • monospace is used to mark entities from the source code.

Introduction

可用于构建和解析 IPP(互联网打印协议)帧,适用于处理打印相关网络通信。核心功能包括生成原始 IPP 帧、解析 IPP 响应,基于 RFC 8010、RFC 8011 及 CUPS 实现,需配合 HTTP 库使用。【此简介由AI生成】

Customize your domain