brane_reg::infra

Function get_capabilities

Source
pub async fn get_capabilities(
    context: Arc<Context>,
) -> Result<impl Reply, Rejection>
Expand description

Handles a GET on the /infra/capabilities path, returning what kind of capabilities this infrastructure supports.

§Returns

The response that can be send back to the client. Contains the set of capabilities supported.

§Errors

This function doesn’t usually error.