Skip to main content

host_link

Function host_link 

Source
pub fn host_link(
    request: &ShareRequest,
    app: &str,
    record: &str,
    locator: &ResourceViewLocator,
) -> Result<String, String>
Expand description

The link to the resource request names in app’s record, for a room’s host that answers share-link itself on the records it runs headless: the link an app’s root mints, under the host’s own locator.

§Errors

Why there is no link: the request’s arguments, an invitation (made from the members list), or a host that serves no web page.