<<

NAME

ProductOpener::Health - heatlh contants

DESCRIPTION

current_time_iso8601()

Return the current time as an ISO 8601 / RFC 3339 string in UTC, suitable for the time field of a health-check object as described in https://inadarei.github.io/rfc-healthcheck/.

sanitize_url($url)

Strip userinfo (credentials) from a URL before including it in a response.

Handles any URL scheme, e.g. postgresql://user:pass@host/db becomes postgresql://host/db.

<<