We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21196ac commit 0ee1ecaCopy full SHA for 0ee1eca
packages/node/src/handlers.ts
@@ -20,10 +20,13 @@ import { flush } from './sdk';
20
21
const DEFAULT_SHUTDOWN_TIMEOUT = 2000;
22
23
-export interface ExpressRequest extends http.IncomingMessage {
24
- [key: string]: any;
+export interface ExpressRequest {
25
baseUrl?: string;
+ connection?: {
26
+ remoteAddress?: string;
27
+ };
28
ip?: string;
29
+ method?: string;
30
originalUrl?: string;
31
route?: {
32
path: string;
@@ -33,6 +36,10 @@ export interface ExpressRequest extends http.IncomingMessage {
33
36
},
34
37
];
35
38
};
39
+ query?: {
40
+ [key: string]: string | string[];
41
42
+ url?: string;
43
user?: {
44
[key: string]: any;
45
0 commit comments