mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
64 lines
1.1 KiB
C#
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,
|
|
}
|
|
}
|