Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.17 KB

File metadata and controls

60 lines (42 loc) · 1.17 KB
external help file Pretendpoint.dll-Help.xml
Module Name Pretendpoint
online version
schema 2.0.0

Receive-HttpContext

SYNOPSIS

Listens for an HTTP request and returns an HTTP request & response.

SYNTAX

Receive-HttpContext [-Listener] <HttpListener> [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> $context = Receive-WebRequest $http

Accepts an HTTP request returns it in an HTTP context object.

PARAMETERS

-Listener

The HTTP listener to receive the request through.

Type: HttpListener
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Net.HttpListener

OUTPUTS

System.Object

NOTES

RELATED LINKS