Preparing search index...
The search index is not available
@tarpit/http
@tarpit/http
HttpCacheProxy
Class HttpCacheProxy
Hierarchy
HttpCacheProxy
Index
Constructors
constructor
Properties
_cache
Methods
clear
get
set
Constructors
constructor
new
Http
Cache
Proxy
(
)
:
HttpCacheProxy
Returns
HttpCacheProxy
Properties
Private
_cache
_cache
:
LRUCache
<
string
,
string
|
object
|
Buffer
,
unknown
>
= ...
Methods
clear
clear
(
scope
,
key
)
:
Promise
<
void
>
Parameters
scope
:
string
key
:
string
Returns
Promise
<
void
>
get
get
(
scope
,
key
)
:
Promise
<
null
|
string
|
object
|
Buffer
>
Parameters
scope
:
string
key
:
string
Returns
Promise
<
null
|
string
|
object
|
Buffer
>
set
set
(
scope
,
key
,
value
,
expire_secs
)
:
Promise
<
void
>
Parameters
scope
:
string
key
:
string
value
:
string
|
object
|
Buffer
expire_secs
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
src
errors
finish.ts
Finish
finish
tp-http-finish.ts
TpHttpFinish
TpHttpErrorDescription
TpHttpErrorHeader
throw_bad_request
throw_forbidden
throw_http_finish
throw_internal_server_error
throw_not_found
throw_not_modified
throw_precondition_failed
throw_unauthorized
builtin
body
form-body.ts
FormBody
json-body.ts
JsonBody
mime-body.ts
MimeBody
raw-body.ts
RawBody
text-body.ts
TextBody
dict
params.ts
Params
path-args.ts
PathArgs
header.ts
RequestHeaders
guard.ts
Guard
http-context.ts
HttpContext
response-cache.ts
ResponseCache
tp-request.ts
TpRequest
tp-response.ts
TpResponse
tp-websocket.ts
TpWebSocket
services
http-authenticator.ts
HttpAuthenticator
http-body-formatter.ts
HttpBodyFormatter
http-cache-proxy.ts
HttpCacheProxy
http-hooks.ts
HttpHooks
http-inspector.ts
HttpInspector
http-static.ts
HttpStatic
http-server.module.ts
HttpServerModule
__types__.ts
HttpCredentials
HttpHandlerDescriptor
HttpSession
TpRouterOptions
TpWebSocketOptions
ApiMethod
HttpResponseType
ProxyConfig
RequestHandler
RequestHandlerWithPathArgs
SocketHandler
TpHttpResponseType
UpgradeHandler
UpgradeHandlerWithPathArgs
annotations.ts
Auth
CacheUnder
ContentType
Delete
Get
Post
Put
Route
RouteProps
TpRouter
WS
Auth
CacheUnder
ContentType
Delete
Get
Post
Put
Route
TpRouter
WS
Generated using
TypeDoc