Page Contents
Home > @loopback/http-caching-proxy > ProxyOptions
ProxyOptions interface
Signature:
export interface ProxyOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
string |
Directory where to keep the cached snapshots. | ||
|
boolean |
(Optional) A flag if the error should be logged | ||
|
number |
(Optional) The port where the HTTP proxy should listen at. Default: 0 (let the system pick a free port) | ||
|
boolean |
(Optional) Whether to reject unauthorized SSL certificates. Set to false to allow self-signed certificates in test environments. Default: true (strict SSL validation) | ||
|
number |
(Optional) Timeout to connect to the target service | ||
|
number |
(Optional) How long to keep snapshots before making a new request to the backend. The value is in milliseconds. Default: one day |