# addHttpWarning

Canonical: https://docs.shumoku.dev/en/library/api/addHttpWarning
Language: en

@shumoku/core · 0.4.0 · function

# addHttpWarning

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-types.ts#L895)

Add HTTP warning to connection result if URL uses insecure HTTP

```
addHttpWarning(url: string, result: ConnectionResult): ConnectionResult
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `url` | `string` | No additional description. | `—` |
| `result` | `ConnectionResult` | No additional description. | `—` |

## Returns

```
ConnectionResult
```

[`libs/@shumoku/core/src/plugin-types.ts:895`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-types.ts#L895)
