@request-seal/core API
Preparing search index...
discovery/node
Discovery
Variable Discovery
Const
Discovery
:
Readonly
<
{
fetch
:
(
source
:
unknown
,
input
?:
unknown
,
)
=>
Promise
<
Result
<
Readonly
<
{
etag
:
string
|
null
;
expiresAt
:
number
;
fetchedAt
:
number
;
keys
:
Readonly
<
Record
<
string
,
Resolution
>
>
;
lookup
:
(
keyId
:
unknown
,
algorithms
:
unknown
,
now
?:
number
,
)
=>
Promise
<
Result
<
Readonly
<
(...)
>
>
>
;
origin
:
string
;
proof
:
"signed"
|
"unsigned"
|
"not_applicable"
;
revision
:
string
;
source
:
DiscoverySource
;
}
,
>
,
>
,
>
;
fetchWithValidators
:
(
source
:
unknown
,
etag
:
unknown
,
storedLifetime
:
unknown
,
input
?:
unknown
,
)
=>
Promise
<
Result
<
|
Readonly
<
{
etag
:
string
;
expiresAt
:
number
;
fetchedAt
:
number
;
notModified
:
true
;
}
,
>
|
Readonly
<
{
etag
:
string
|
null
;
expiresAt
:
number
;
fetchedAt
:
number
;
keys
:
Readonly
<
Record
<
string
,
Resolution
>
>
;
lookup
:
(
keyId
:
unknown
,
algorithms
:
unknown
,
now
?:
number
,
)
=>
Promise
<
Result
<
(...)
>
>
;
origin
:
string
;
proof
:
"signed"
|
"unsigned"
|
"not_applicable"
;
revision
:
string
;
source
:
DiscoverySource
;
}
,
>
,
>
,
>
;
resolver
:
(
input
:
unknown
,
opts
:
unknown
,
)
=>
Result
<
(
request
:
unknown
,
)
=>
Promise
<
Result
<
Readonly
<
{
algorithm
:
SigningAlgorithm
;
key
:
PublicKey
}
>
>
,
>
,
>
&
{
fromSnapshot
:
(
config
:
unknown
,
bodyBytes
:
unknown
,
fetchedAt
:
unknown
,
headers
?:
unknown
,
)
=>
Promise
<
Result
<
Readonly
<
{
etag
:
string
|
null
;
expiresAt
:
number
;
fetchedAt
:
number
;
keys
:
Readonly
<
Record
<
(...)
,
(...)
>
>
;
lookup
:
(
keyId
:
unknown
,
algorithms
:
unknown
,
now
?:
(...)
|
(...)
,
)
=>
Promise
<
(...)
>
;
origin
:
string
;
proof
:
"signed"
|
"unsigned"
|
"not_applicable"
;
revision
:
string
;
source
:
DiscoverySource
;
}
,
>
,
>
,
>
;
}
;
}
,
>
= ...
Discovery resolution with the explicit Node HTTPS transport.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@request-seal/core API
Loading...
Discovery resolution with the explicit Node HTTPS transport.