Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for the Volt client.

Structs§

TlsOptions
Create TLS configuration options from PEM-encoded certificates and keys

Functions§

get_did_resolution_url
Build a DID resolution URL
get_local_ip
Get the local IP address
get_service_address
Get the service address from an mDNS service record
is_ipv4
Check if an IP string is IPv4 format
is_ipv6
Check if an IP string is IPv6 format
remove_carriage_return
Remove carriage returns from a string (useful for PEM processing)