# TlsResumptionState

`import { TlsResumptionState } from "destack:tls/binding";`

TLS resumption state for one connection.

```ds title="TlsResumptionState"
export enum TlsResumptionState {
    Fresh = 0,
    Resumed = 1,
}
```

[language/library/src/tls/binding/connection.ds:21:26](https://github.com/destack-sh/destack/blob/main/language/library/src/tls/binding/connection.ds#L21-L26)

## Variants

### `Fresh = 0`

Connection was not resumed.

### `Resumed = 1`

Connection resumed from one cached state or ticket.
