Search
Preparing search index...
The search index is not available
@xgheaven/nos-node-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"lib/authorization"
External module "lib/authorization"
Index
Variables
canonicalized
Headers
join
Parts
normalize
Headers
Functions
normalize
Date
signature
Variables
Const
canonicalized
Headers
canonicalized
Headers
:
function
= pipe<object, object, [string, any][], [string, any][], string[], string>(pickBy((_, key) => key.startsWith('x-nos-')),toPairs,sortBy(prop('0')),map(join(':')),join('\n'))
Type declaration
(
x
:
V0
)
:
T5
Parameters
x:
V0
Returns
T5
Const
join
Parts
join
Parts
:
function
= join('\n')
Type declaration
(
xs
:
ReadonlyArray
<
any
>
)
:
string
Parameters
xs:
ReadonlyArray
<
any
>
Returns
string
Const
normalize
Headers
normalize
Headers
:
function
= renameKeysWith(toLower)
Type declaration
(
obj
:
object
)
:
object
Parameters
obj:
object
Returns
object
Functions
Const
normalize
Date
normalize
Date
(
date
:
any
)
:
string
Parameters
date:
any
Returns
string
signature
signature
(
secretKey
:
string
, verb
:
string
, headers
:
any
, resource
:
Resource
)
:
string
Parameters
secretKey:
string
verb:
string
headers:
any
resource:
Resource
Returns
string
Globals
"client"
"exts/auth"
"exts/bucket"
"exts/multipart-
upload"
"exts/object"
"index"
"lib/authorization"
"lib/constant"
"lib/error"
"lib/request"
"lib/resource"
"lib/util"
"play"
"type/bucket"
"type/callback"
"type/multipart-
upload"
"type/object"
"type/request"
"type/resource"
canonicalized
Headers
join
Parts
normalize
Headers
normalize
Date
signature
Generated using
TypeDoc