Skip to main content

atproto_did_url

Function atproto_did_url 

Source
pub fn atproto_did_url(
    handle: &str,
    port: Option<u16>,
) -> Result<String, HandleError>
Expand description

Where handle is resolved over HTTPS, or why it cannot be.

port follows the same rule crate::AccountDid applies to a did:web: allowed on a bare loopback hostname, refused anywhere else. The scheme is https either way — every server this project runs terminates TLS.