Skip to main content

run

Function run 

Source
pub async fn run(handler: impl Handler) -> Result<(), Error>
Expand description

Main event loop for a key provider process.

Reads requests from stdin, dispatches to the Handler, and writes responses to stdout. Returns Ok(()) when stdin reaches EOF (i.e., the proxy closed the connection).