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

# HintoClient

## Methods

### flush()

```typescript
flush(options?: { keepalive: boolean }): Promise<IngestBatchResponse | null>
```

#### Parameters

<ResponseField name={"options"} type={"{ keepalive: boolean }"} />

#### Returns

`Promise<IngestBatchResponse | null>`

### identify()

```typescript
identify(identity: SessionIdentity): void
```

#### Parameters

<ResponseField name={"identity"} type={"SessionIdentity"} required />

### shutdown()

```typescript
shutdown(): void
```

### track()

```typescript
track(name: string, properties?: Record<string, unknown>): void
```

#### Parameters

<ResponseField name={"name"} type={"string"} required />

<ResponseField name={"properties"} type={"Record<string, unknown>"} />
