> For the complete documentation index, see [llms.txt](https://henryruhs.gitbook.io/ngx-crud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://henryruhs.gitbook.io/ngx-crud/api/http-options.md).

# HTTP Options

### Get

Get a single option of the service:

```typescript
crudService.getOption(name : keyof Options) : Options[keyof Options]
```

Get the options of the service:

```typescript
crudService.getOptions() : Options
```

### Set

Set a single option of the service:

```typescript
crudService.setOption(name : keyof Options, value : Options[keyof Options]) : this
```

Set the options of the service:

```typescript
crudService.setOptions(options : Options) : this
```

### Clear

Clear a single option of the service:

```typescript
crudService.clearOption(name : keyof Options) : this
```

Clear the options of the service:

```typescript
crudService.clearOptions() : this
```
