# getCookie

**Kind:** Function

**Source:** [`src/helper/cookie/index.ts`](https://github.com/honojs/hono/blob/main/src/helper/cookie/index.ts#L27)

**Part of:** [Helper](subsystem-src-helper)

## Signature

```ts
function getCookie(c, key, prefix: CookiePrefixOptions)
```

## Parameters

| Name | Type |
|---|---|
| `c` | `any` |
| `key` | `any` |
| `prefix` | `CookiePrefixOptions` |

## Relationships

- IMPORTS → `parse`
- IMPORTS → `parseSigned`
- IMPORTS → `serialize`
- IMPORTS → `serializeSigned`

## Used by

4 references from 4 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (4)

- `headerName` — `src/middleware/jwk/jwk.ts`:81
- `headerName` — `src/middleware/jwt/jwt.ts`:81
- `DetectorType` — `src/middleware/language/language.ts`:10
- `ValidationFunction` — `src/validator/validator.ts`:14
