Skip to main content

resolve_agent_card_with_options

Function resolve_agent_card_with_options 

Source
pub async fn resolve_agent_card_with_options(
    base_url: &str,
    options: &CardFetchOptions,
) -> Result<AgentCard, ClientError>
Expand description

resolve_agent_card with the headers and budget in options.

ยงErrors

Same conditions as resolve_agent_card, plus ClientError::Transport when the budget elapses or a header in options is not a valid HTTP header.