Skip to main content

create_secure_router

Function create_secure_router 

Source
pub fn create_secure_router(
    state: AppState,
    security: SecurityConfig,
) -> (Router, Arc<ApiKeyStore>, Arc<RateLimiter>)
Expand description

Create the API router with security enabled.