Skip to content

Commit ac33947

Browse files
committed
add comment
1 parent ba533ed commit ac33947

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/rfc9421/sign.ts

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ export class RFC9421SignatureBaseFactory {
3232
this.url = new URL(this.targetUri);
3333
}
3434

35+
/**
36+
* Return component value from component type and parameters
37+
* @param type component type (first part of component key)
38+
* e.g. `@method` or `"@method"`
39+
* @param params component parameters
40+
* e.g. ['"@query-param"', 'name="foo"'] (Result of '"@query-param";name="foo"'.split(';'))
41+
* @returns component value
42+
*/
3543
public get(
3644
type: typeof RFC9421SignatureBaseFactory.availableDerivedComponents[number] | string,
3745
params: string[] = [],

0 commit comments

Comments
 (0)