Page Contents

Home > @loopback/http-server > RequestListener

RequestListener type

Request listener function for http/https requests

Signature:

export type RequestListener = (req: IncomingMessage, res: ServerResponse) => void;