create_task_handler

Function create_task_handler 

Source
pub async fn create_task_handler(
    __arg0: State<Arc<A2aState>>,
    __arg1: Json<TaskRequest>,
) -> (StatusCode, Json<TaskResponse>)
Expand description

Handler: POST /a2a/tasks

Create a new task for execution.

ยงSecurity

  • Validates caller authentication
  • Checks nonce/timestamp for replay protection
  • Rate limits per caller agent