UNPKG
@tinyhttp/req
Version:
latest (2.2.5)
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.0
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.1
1.3.0
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.4
1.1.2
1.1.1
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.5.7
0.5.6
0.5.5
0.5.3
0.5.2
0.5.1
0.5.0
0.4.5
0.4.3
0.4.2
0.4.1
0.4.0
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.1
0.1.0
0.0.1
request extensions for tinyhttp
tinyhttp.v1rtl.site
tinyhttp/tinyhttp
@tinyhttp/req
/
dist
/
fresh.d.ts
6 lines
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
IncomingHttpHeaders
,
OutgoingHttpHeaders
}
from
'node:http'
;
/** * Check freshness of the response using request and response headers. */
export
declare
function
fresh
(
reqHeaders
:
IncomingHttpHeaders
,
resHeaders
:
OutgoingHttpHeaders
):
boolean
;
//# sourceMappingURL=fresh.d.ts.map