> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ExpressLikeRequest

> The part of an Express request toExpress reads.

The part of an Express request `toExpress` reads.

## Properties

### body?

```ts theme={null}
optional body?: unknown;
```

A parsed body from `express.json()`, or a raw string.

***

### headers

```ts theme={null}
headers: Record<string, string | string[] | undefined>;
```

***

### method

```ts theme={null}
method: string;
```

***

### on?

```ts theme={null}
optional on?: {
  (event, listener): unknown;
  (event, listener): unknown;
  (event, listener): unknown;
};
```

Present when no parser has consumed the stream, which is then read as-is.

#### Call Signature

```ts theme={null}
(event, listener): unknown;
```

Each chunk of the body, in order.

##### Parameters

###### event

`"data"`

###### listener

(`chunk`) => `void`

##### Returns

`unknown`

#### Call Signature

```ts theme={null}
(event, listener): unknown;
```

The body is complete.

##### Parameters

###### event

`"end"`

###### listener

() => `void`

##### Returns

`unknown`

#### Call Signature

```ts theme={null}
(event, listener): unknown;
```

The stream failed; the adapter rejects with the error.

##### Parameters

###### event

`"error"`

###### listener

(`error`) => `void`

##### Returns

`unknown`

***

### originalUrl?

```ts theme={null}
optional originalUrl?: string;
```

Preferred over `url`, so a router-mounted path keeps its prefix.

***

### protocol?

```ts theme={null}
optional protocol?: string;
```

Used as the scheme of the url handed to the handler. Defaults to `https`.

***

### url?

```ts theme={null}
optional url?: string;
```
