import { HandlerParamSelector , handlerParam } from './handlerParam' ; export function reqHeaders ( paramName ? ) { const selector = paramName == null ? req => req . headers : req => req . headers [ paramName ] ; return handlerParam ( selector ) ; }