Skip to main content

validate_service_domain

Function validate_service_domain 

Source
pub fn validate_service_domain(service_domain: &str) -> Result<()>
Expand description

Validate the one canonical RPC service/destination identifier.

Domains are compared byte-for-byte and never normalized at a trust boundary, avoiding aliases between the client and dispatcher.