Function: warnInsecureUrl()
@providerprotocol/ai / http / warnInsecureUrl
Function: warnInsecureUrl()
Section titled “Function: 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.
Parameters
Section titled “Parameters”string
provider
Section titled “provider”string
Returns
Section titled “Returns”void