import type { Plugin , CoreSetup } from 'kibana/server' ; export class CoreHttpPlugin implements Plugin { public setup ( core , deps ) { const router = core . http . createRouter ( ) ; router . get ( { path : '/api/core_http/never_reply' , validate : false , } , async ( ctx , req , res ) => { await new Promise ( ( ) => undefined ) ; return res . ok ( ) ; } ) ; } public start ( ) { } public stop ( ) { } }