|
DocWire SDK
DocWire SDK: Deterministic, auditable, and secure data processing in C++20. On-premise by default. No compromises on computational speed.
|
Content type detection chain element. More...
#include <content_type.h>
Public Member Functions | |
| detector (ref_or_owned< by_signature::database > signatures_db_to_use=by_signature::database{}) | |
| Constructs a new detector with the given database of signatures. | |
| continuation | operator() (message_ptr msg, const message_callbacks &emit_message) |
Content type detection chain element.
Detects and assigns content types to the provided data source using various detection strategies.
This class is a chain element that detects and assigns content types to data sources using the following detection methods:
Definition at line 106 of file content_type.h.
|
inline |
Constructs a new detector with the given database of signatures.
The detector will use the provided database of signatures for content type detection. If no database is provided, it will be created and loaded.
| signatures_db_to_use | The database of signatures to be used for content type detection. |
Definition at line 120 of file content_type.h.
|
inline |
Definition at line 123 of file content_type.h.