---
lang: en
title: 'API docs: rest.httprequestlistener'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.httprequestlistener.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [HttpRequestListener](./rest.httprequestlistener.md)

## HttpRequestListener type

<b>Signature:</b>

```typescript
export declare type HttpRequestListener = (req: IncomingMessage, res: ServerResponse) => void;
```

