Class HttpMethodHelper
Inheritance
object
HttpMethodHelper
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Http
Assembly: Volo.Abp.Http.dll
Syntax
public static class HttpMethodHelper
Fields
DefaultHttpVerb
Declaration
public const string DefaultHttpVerb = "POST"
Field Value
| Type | Description |
|---|---|
| string |
Properties
ConventionalPrefixes
Declaration
public static Dictionary<string, string[]> ConventionalPrefixes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<TKey, TValue><string, string[]> |
Methods
ConvertToHttpMethod(string)
Declaration
public static HttpMethod ConvertToHttpMethod(string httpMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| string | httpMethod |
Returns
| Type | Description |
|---|---|
| System.Net.Http.HttpMethod |
GetConventionalVerbForMethodName(string)
Declaration
public static string GetConventionalVerbForMethodName(string methodName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | methodName |
Returns
| Type | Description |
|---|---|
| string |
RemoveHttpMethodPrefix(string, string)
Declaration
public static string RemoveHttpMethodPrefix(string methodName, string httpMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| string | methodName | |
| string | httpMethod |
Returns
| Type | Description |
|---|---|
| string |