Skip to content

Function: warnInsecureUrl()

@providerprotocol/ai


@providerprotocol/ai / http / warnInsecureUrl

warnInsecureUrl(url, provider): void

Defined in: src/http/fetch.ts:26

Warns when a non-TLS URL is used with a provider. Only warns in non-production, excludes localhost for local development.

string

string

void