File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ The request object represents the HTTP request and has properties for the reques
103
103
<table >
104
104
<tbody >
105
105
<tr>
106
- <td><code>@Request()</code></td>
106
+ <td><code>@Request(), @Req() </code></td>
107
107
<td><code>req</code></td></tr>
108
108
<tr>
109
109
<td><code>@Response(), @Res()</code><span class="table-code-asterisk">*</span></td>
@@ -137,6 +137,10 @@ The request object represents the HTTP request and has properties for the reques
137
137
<td><code>@Ip()</code></td>
138
138
<td><code>req.ip</code></td>
139
139
</tr>
140
+ <tr>
141
+ <td><code>@HostParam()</code></td>
142
+ <td><code>req.hosts</code></td>
143
+ </tr>
140
144
</tbody >
141
145
</table >
142
146
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ Nest provides a set of useful **param decorators** that you can use together wit
15
15
<table >
16
16
<tbody >
17
17
<tr>
18
- <td><code>@Request()</code></td>
18
+ <td><code>@Request(), @Req() </code></td>
19
19
<td><code>req</code></td>
20
20
</tr>
21
21
<tr>
22
- <td><code>@Response()</code></td>
22
+ <td><code>@Response(), @Res() </code></td>
23
23
<td><code>res</code></td>
24
24
</tr>
25
25
<tr>
@@ -50,6 +50,10 @@ Nest provides a set of useful **param decorators** that you can use together wit
50
50
<td><code>@Ip()</code></td>
51
51
<td><code>req.ip</code></td>
52
52
</tr>
53
+ <tr>
54
+ <td><code>@HostParam()</code></td>
55
+ <td><code>req.hosts</code></td>
56
+ </tr>
53
57
</tbody >
54
58
</table >
55
59
You can’t perform that action at this time.
0 commit comments