Interface: StartProxyOptions
Options for startProxyServer, adding the listen address.
Extends
Section titled “Extends”Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
When set, local clients must present this value as a bearer token
(Authorization: Bearer <key>). Unset leaves the proxy open, which is fine
for a loopback bind but should be paired with a key on a wider one.
Inherited from
Section titled “Inherited from”
optionalhost?:string
optionalport?:number
retry?
Section titled “retry?”
optionalretry?:RetryConfig
Policy for absorbing upstream 429s. Omitted defaults to DEFAULT_RETRY (retry on). See RetryConfig.