import { IHttpConfig } from './types' ; export interface ListenerOptions { keepaliveTimeout : number ; socketTimeout : number ; } export function getListenerOptions ( config ) { return { keepaliveTimeout : config . keepaliveTimeout , socketTimeout : config . socketTimeout , } ; }