Skip to main content

host

Function host 

Source
pub fn host(
    suite: &Suite,
    cfg: ServiceConfig,
    handler: Arc<dyn Handler>,
) -> Result<Hosted, HostError>
Expand description

Host cfg.service on suite: discover, rank, take over if outranking, bind the current-user-only endpoint, publish service.json. Chunked calls (rk.upload) are off unless the options set HostOptions::max_message.