Structs
A NewType around String
to hold DNS domains.
No check is done when you convert something into Domain
.
Simple struct that holds the Host and Port of a SIP(S) uri, reprsented by Uri.
Note that during parsing, if no port is set, it is returned as None
. Usually when no port
is specified then port 5060 is assumed. But rsip is not acting smart here and delegates that
responsibility to you because you might want 5061 (TLS) as default etc.
A simple NewType around u16, as part of the HostWithPort.
Enums
The Host
enum represents the host part of the HostWithPort struct