Module jsonrpsee_utils::http::hosts[][src]

Host header validation.

Structs

Host

Host type

Enums

AllowHosts

Allowed hosts for http header ‘host’

DomainsValidation

Specifies if domains should be validated.

Port

Port pattern

Functions

is_host_valid

Returns true when Host header is whitelisted in allow_hosts.

update

Updates given list of hosts with the address.