New-PodeLimitMethodComponent
SYNOPSIS
Creates a new Limit HTTP Method component.
SYNTAX
New-PodeLimitMethodComponent [[-Method] <String[]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Creates a new Limit HTTP Method component. This supports the WebEvent methods.
EXAMPLES
EXAMPLE 1
New-PodeLimitMethodComponent
EXAMPLE 2
New-PodeLimitMethodComponent -Method 'Get'
EXAMPLE 3
New-PodeLimitMethodComponent -Method 'Get', 'Post'
PARAMETERS
-Method
The HTTP method(s) to check.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.