Skip to main content

Module infrastructure

Module infrastructure 

Source

Re-exports§

pub use handler::NativePxHandler;
pub use native_first::NativeFirstHandler;
pub use sensor_solver::SensorNativeSolver;

Modules§

cookies
Minimal Set-Cookie parser. We accept the subset the PX servers emit — name=value; Domain=…; Path=…; …. We do NOT honour Expires/Max-Age here; cookie freshness is the caller’s concern via PxCookieBundle::expires_at.
handler
ChallengeHandler adapter for [SensorNativeSolver] so it can slot into the existing routing dispatcher. Pair this with super::native_first::NativeFirstHandler to get the “native first, browser on failure” wiring.
native_first
NativeFirstHandler — decorator that tries a native handler and falls back to a browser-based one on error.
not_implemented
sensor_solver
Native NativeSolver implementation that builds a sensor payload locally and POSTs it to ${origin}/${app_id_tag}${sensor_path}, then parses the Set-Cookie response into a PxCookieBundle.