Windows-powershell / PowerShell-master /src /Microsoft.PowerShell.Commands.Utility /commands /utility /WebCmdlet /WebRequestMethod.cs
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| 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, | |
| } | |
| } | |