tokio-xmpp: add option to set custom hickory resolver
This commit is contained in:
parent
8fe026cad3
commit
559159d458
3 changed files with 64 additions and 18 deletions
|
|
@ -66,6 +66,7 @@ async fn main() {
|
|||
host: jid.domain().as_str().to_owned(),
|
||||
srv: "_xmpp-client._tcp".to_owned(),
|
||||
fallback_port: 5222,
|
||||
resolver: None,
|
||||
}),
|
||||
jid.clone().into(),
|
||||
password.clone(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue