Skip to main content

wait_for_callback

Function wait_for_callback 

Source
fn wait_for_callback(
    port: u16,
    expected_path: &str,
) -> Result<(String, String), OperationOutcomeError>
Expand description

Blocks waiting for the browser to redirect back with ?code=&state=, on a single connection to the loopback listener. Returns (code, state).