Files
PowerShell/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs
T

64 lines
1.1 KiB
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#nullable enable
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// Enums for web request method.
/// </summary>
public enum WebRequestMethod
{
/// <summary>
/// Default method.
/// </summary>
Default,
/// <summary>
/// GET method.
/// </summary>
Get,
/// <summary>
/// HEAD method.
/// </summary>
Head,
/// <summary>
/// POST method.
/// </summary>
Post,
/// <summary>
/// PUT method.
/// </summary>
Put,
/// <summary>
/// DELETE method.
/// </summary>
Delete,
/// <summary>
/// TRACE method.
/// </summary>
Trace,
/// <summary>
/// OPTIONS method.
/// </summary>
Options,
/// <summary>
/// MERGE method.
/// </summary>
Merge,
/// <summary>
/// PATCH method.
/// </summary>
Patch,
}
}