cf_connection_timeout

Macro cf_connection_timeout 

Source
cf_connection_timeout!() { /* proc-macro */ }
Expand description

Creates a validated CfConnectionTimeout wrapper for CloudFront origin connection timeouts at compile time.

ยงValidation Rules

  • Connection timeout (first value) must be between 1 and 10 seconds (if provided)
  • Response completion timeout (second value) must be greater than or equal to connection timeout (if both provided)
  • Both values are optional