Class WebConsts
Non-localizable constants
Inheritance
System.Object
WebConsts
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.Web.dll
Syntax
public static class WebConsts
Fields
HTTP_DELETE
Declaration
public const string HTTP_DELETE = "DELETE"
Field Value
Type |
Description |
System.String |
|
HTTP_GET
Declaration
public const string HTTP_GET = "GET"
Field Value
Type |
Description |
System.String |
|
HTTP_HDR_ACCEPT
Declaration
public const string HTTP_HDR_ACCEPT = "Accept"
Field Value
Type |
Description |
System.String |
|
HTTP_HDR_AUTHORIZATION
Declaration
public const string HTTP_HDR_AUTHORIZATION = "Authorization"
Field Value
Type |
Description |
System.String |
|
HTTP_HDR_CONTENT_DISPOSITION
Declaration
public const string HTTP_HDR_CONTENT_DISPOSITION = "Content-disposition"
Field Value
Type |
Description |
System.String |
|
HTTP_PATCH
Declaration
public const string HTTP_PATCH = "PATCH"
Field Value
Type |
Description |
System.String |
|
HTTP_POST
Declaration
public const string HTTP_POST = "POST"
Field Value
Type |
Description |
System.String |
|
HTTP_PUT
Declaration
public const string HTTP_PUT = "PUT"
Field Value
Type |
Description |
System.String |
|
HTTP_SET_COOKIE
Declaration
public const string HTTP_SET_COOKIE = "Set-Cookie"
Field Value
Type |
Description |
System.String |
|
HTTP_WWW_AUTHENTICATE
Declaration
public const string HTTP_WWW_AUTHENTICATE = "WWW-Authenticate"
Field Value
Type |
Description |
System.String |
|
STATUS_200
Declaration
public const int STATUS_200 = 200
Field Value
Type |
Description |
System.Int32 |
|
STATUS_200_DESCRIPTION
Declaration
public const string STATUS_200_DESCRIPTION = "OK"
Field Value
Type |
Description |
System.String |
|
STATUS_400
Declaration
public const int STATUS_400 = 400
Field Value
Type |
Description |
System.Int32 |
|
STATUS_400_DESCRIPTION
Declaration
public const string STATUS_400_DESCRIPTION = "Bad Request"
Field Value
Type |
Description |
System.String |
|
STATUS_401
Declaration
public const int STATUS_401 = 401
Field Value
Type |
Description |
System.Int32 |
|
STATUS_401_DESCRIPTION
Declaration
public const string STATUS_401_DESCRIPTION = "Unauthorized"
Field Value
Type |
Description |
System.String |
|
STATUS_403
Declaration
public const int STATUS_403 = 403
Field Value
Type |
Description |
System.Int32 |
|
STATUS_403_DESCRIPTION
Declaration
public const string STATUS_403_DESCRIPTION = "Forbidden"
Field Value
Type |
Description |
System.String |
|
STATUS_404
Declaration
public const int STATUS_404 = 404
Field Value
Type |
Description |
System.Int32 |
|
STATUS_404_DESCRIPTION
Declaration
public const string STATUS_404_DESCRIPTION = "Not found"
Field Value
Type |
Description |
System.String |
|
STATUS_405
Declaration
public const int STATUS_405 = 405
Field Value
Type |
Description |
System.Int32 |
|
STATUS_405_DESCRIPTION
Declaration
public const string STATUS_405_DESCRIPTION = "Method Not Allowed"
Field Value
Type |
Description |
System.String |
|
STATUS_406
Declaration
public const int STATUS_406 = 406
Field Value
Type |
Description |
System.Int32 |
|
STATUS_406_DESCRIPTION
Declaration
public const string STATUS_406_DESCRIPTION = "Not Acceptable"
Field Value
Type |
Description |
System.String |
|
STATUS_429
Declaration
public const int STATUS_429 = 429
Field Value
Type |
Description |
System.Int32 |
|
STATUS_429_DESCRIPTION
Declaration
public const string STATUS_429_DESCRIPTION = "Too Many Requests"
Field Value
Type |
Description |
System.String |
|
STATUS_500
Declaration
public const int STATUS_500 = 500
Field Value
Type |
Description |
System.Int32 |
|
STATUS_500_DESCRIPTION
Declaration
public const string STATUS_500_DESCRIPTION = "Internal error"
Field Value
Type |
Description |
System.String |
|
Methods
GetRedirectStatusCode(WebConsts.RedirectCode)
Declaration
public static int GetRedirectStatusCode(WebConsts.RedirectCode code)
Parameters
Returns
Type |
Description |
System.Int32 |
|
GetRedirectStatusDescription(WebConsts.RedirectCode)
Declaration
public static string GetRedirectStatusDescription(WebConsts.RedirectCode code)
Parameters
Returns
Type |
Description |
System.String |
|