# addHttpWarning

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

@shumoku/core · 0.4.0 · function

# addHttpWarning

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

APIの説明は英語のcanonical sourceを表示しています。

Add HTTP warning to connection result if URL uses insecure HTTP

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

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `url` | `string` | 追加説明はありません。 | `—` |
| `result` | `ConnectionResult` | 追加説明はありません。 | `—` |

## 戻り値

```
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)
