[][src]Crate http_desync_guardian

Modules

http_token_utils
request_analyzer
ultralight_rate_limiter

Structs

ClassificationReasonIter
ClassificationVerdict

The result of request analysis.

ExtClassificationMetricsSettings

Structured Classification Reason Metrics reporting.

ExtHttpHeader

Represents an HTTP header.

ExtHttpHeaders

A collection of HTTP headers.

ExtHttpRequestData

Represents and HTTP request for analysis.

ExtLoggingSettings

Configuration for logging.

ExtRequestAnalysisMetricsUnit

Unit structure for emitting Metrics.

ExtString

A pointer to a string.

ExtTierMetricsSettings

Structured Request Safety Tier Metrics reporting.

RequestSafetyTierIter

Enums

ClassificationReason

The reason why a request received a particular Request Safety Tier.

HeaderSafetyTier

The classification of HTTP headers.

RequestSafetyTier

The classification of HTTP requests.

SettingsReturnCode

The library can be configured only once. The return code indicates if settings were accepted, or it was a subsequent call.

Constants

MESSAGE_MAX_SIZE

The maximum length of an error message.

Functions

http_desync_guardian_analyze_raw_request

Parses and analyzes a given HTTP request.

http_desync_guardian_analyze_request

Analyzes a given HTTP request.

http_desync_guardian_initialize_logging_settings

Configure logging parameters. Only first call matters (subsequent are ignored). The settings and settings.callback must be non-null.

http_desync_guardian_print_request

Return request information with Customer sensitive data obfuscated The callback must be non-null. Populates a buffer with the data in an HTTP Request that has been analyzed.

http_desync_guardian_register_classification_metrics_callback

Configure Aggregated Classification Reason metrics reporting. Only first call matters (subsequent calls are ignored).

http_desync_guardian_register_tier_metrics_callback

Configure Aggregated Request Safety Tier metrics reporting. Only first call matters (subsequent calls are ignored). The callback must be non-null.