Crate nel

source ·

Structs

  • NELReport captures all of the internal information we need about an error that occurred.

Functions

  • handle_reports receives NEL reports and submits them to the reporting endpoint.
  • nel_header takes the value of a NEL header and caches the specified policy.
  • report_to_header takes the value of the Report-To header and saves any group endpoint URLs.
  • submit_report adds a report to the queue to be sent to the server.