ln_gateway::rpc::rpc_server

Function extract_bearer_token

Source
fn extract_bearer_token(request: &Request) -> Result<String, StatusCode>
Expand description

Extracts the Bearer token from the Authorization header of the request.