Skip to main content

sample_hit

Function sample_hit 

Source
fn sample_hit(percentage: Option<u8>) -> bool
Expand description

APISIX sample_hit: no percentage means always hit; 0 never hits and 100 always hits.