We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b357a6 commit 0108bd9Copy full SHA for 0108bd9
README.md
@@ -92,8 +92,8 @@ export class AppModule {
92
- Example with key: `request(@RequestParam('foo') query: string): string`
93
- Example without key: `request(@RequestParam() query: { foo: string }): string`
94
95
-- `@RequestHeader(key?: string, defaultValue?: string)`: Specifies the request header, requiring the key of the header
96
- optionally.
+- `@RequestHeader(key?: string, option?: { defaultValue?: string; transform?: (value: string) => string })`: Specifies
+ the request header, requiring the key of the header optionally.
97
98
- `@Bearer()`: Specifies the bearer token using the `Authorization` header.
99
0 commit comments