Skip to main content

validate

Function validate 

Source
pub(crate) fn validate(
    headers: &RequestHeaders,
    method: &str,
    params: &Map<String, Value>,
    header_params: &[(String, String)],
) -> Result<(), String>
Expand description

Checks the routing headers against the body. header_params are the called tool’s (argument, header suffix) pairs.