---
jsApi: true
title: "[F] setRouteOptionsForNamespace"

---
```ts
setRouteOptionsForNamespace(
   program, 
   namespace, 
   options): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `namespace` | `Namespace` |
| `options` | [`RouteOptions`](../interfaces/RouteOptions.md) |

## Returns

`void`
