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)](/doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy._constructor_.html) Constructs a new instance of the `HttpCachingProxy` class

Properties

Property Modifiers Type Description
[url](/doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy.url.html) 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)](/doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy.logerror.html)
[start()](/doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy.start.html) Start listening.
[stop()](/doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy.stop.html) Stop listening.