Page Contents

Home > @loopback/http-caching-proxy > HttpCachingProxy

HttpCachingProxy class

The HTTP proxy implementation.

Signature:

export declare class HttpCachingProxy 

Constructors

Constructor Modifiers Description

(constructor)(options)

Constructs a new instance of the HttpCachingProxy class

Properties

Property Modifiers Type Description

url

string

URL where the proxy is listening on. Provide this value to your HTTP client as the proxy configuration.

Methods

Method Modifiers Description

logError(request, error)

start()

Start listening.

stop()

Stop listening.