# getPath

**Kind:** Function

**Source:** [`src/utils/url.ts`](https://github.com/honojs/hono/blob/main/src/utils/url.ts#L106)

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
function getPath(request: Request): string
```

## Parameters

| Name | Type |
|---|---|
| `request` | `Request` |

**Returns:** `string`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `HonoOptions` — `src/hono-base.ts`:46
