Skip to main content

serve

Function serve 

Source
pub async fn serve(
    socket: AdminSocket,
    admin: Admin,
    shutdown: impl Future<Output = ()>,
)
Expand description

Answer admin commands until shutdown resolves, then remove the socket (by dropping it).