---
url: >-
  https://lit-ui-router.dev/reference/ui-router-server/connect/interfaces/ConnectRequest.md
---
[ui-router-server](../../index.md) / [connect](../index.md) / ConnectRequest

# Interface: ConnectRequest

Defined in: [connect.ts:38](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/connect.ts#L38)

The subset of `http.IncomingMessage` the middleware reads (and rewrites).

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `headers` | `Record`<`string`, `string` | `string`\[] | `undefined`> | Request headers, lowercase-keyed; the adapter reads `accept` and strips validators. | [connect.ts:44](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/connect.ts#L44) |
|  `method?` | `string` | The HTTP method, read by the navigation heuristic. | [connect.ts:42](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/connect.ts#L42) |
|  `url?` | `string` | The request target (`pathname?search`); the default shell host rewrites it. | [connect.ts:40](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/connect.ts#L40) |
