Skip to content

Commit 6074916

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
feat: HttpListenerRequest get/set Module ( Fixes #1126 )
1 parent b668e83 commit 6074916

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
System.Net.HttpListenerRequest.set_Module()
2+
-------------------------------------------
3+
4+
### Synopsis
5+
Sets the request's module
6+
7+
---
8+
9+
### Description
10+
11+
Sets the module that is associated with the request.
12+
13+
By default, this will be any module whose `.Server` property matches the request's `.Url.DnsSafeHost` property.
14+
15+
If needed, the module can be set directly, in order to serve a different loaded module.
16+
17+
---
18+
19+
### Parameters
20+
#### **Module**
21+
The module to associate with the request
22+
23+
|Type |Required|Position|PipelineInput|
24+
|----------------|--------|--------|-------------|
25+
|`[PSModuleInfo]`|true |1 |false |
26+
27+
---

0 commit comments

Comments
 (0)