CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
http_response_header.h
1
2#pragma once
3
4#include <system/array.h>
5#include <system/object.h>
6#include <system/string.h>
7
8namespace System { namespace Net {
9
12{
14 CacheControl = 0,
16 Connection = 1,
18 Date = 2,
20 KeepAlive = 3,
22 Pragma = 4,
24 Trailer = 5,
28 Upgrade = 7,
30 Via = 8,
32 Warning = 9,
34 Allow = 10,
36 ContentLength = 11,
38 ContentType = 12,
40 ContentEncoding = 13,
42 ContentLanguage = 14,
44 ContentLocation = 15,
46 ContentMd5 = 16,
48 ContentRange = 17,
50 Expires = 18,
52 LastModified = 19,
54 AcceptRanges = 20,
56 Age = 21,
58 ETag = 22,
60 Location = 23,
64 RetryAfter = 25,
66 Server = 26,
68 SetCookie = 27,
70 Vary = 28,
73};
74
77{
82
84 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
86 ASPOSECPP_SHARED_RTTI_INFO_DECL();
87
88public:
93
96
97private:
99 static System::ArrayPtr<String> s_names;
100
102 static struct __StaticConstructor__
103 {
104 __StaticConstructor__();
105 } s_constructor__;
106};
107
108}} // namespace System::Net
Contains utility methods to work with the HttpResponseHeader enumeration values.
Definition: http_response_header.h:77
static String GetName(HttpResponseHeader header)
Returns the name of the specified header.
HttpResponseHeaderExtensions()=delete
The deleted default constructor.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
HttpResponseHeader
Enumerates the http response headers.
Definition: http_response_header.h:12
@ AcceptRanges
The 'Accept-Ranges' header.
@ SetCookie
The 'Set-Cookie' header.
@ ProxyAuthenticate
The 'Proxy-Authenticate' header.
@ Server
The 'Server' header.
@ Location
The 'Location' header.
@ WwwAuthenticate
The 'WWW-Authenticate' header.
@ RetryAfter
The 'Retry-After' header.
@ Warning
The 'Warning' header.
@ ContentLength
The 'Content-Length' header.
@ KeepAlive
The 'Keep-Alive' header.
@ Date
The 'Date' header.
@ Allow
The 'Allow' header.
@ TransferEncoding
The 'Transfer-Encoding' header.
@ Trailer
The 'Trailer' header.
@ ContentLanguage
The 'Content-Language' header.
@ ContentRange
The 'Content-Range' header.
@ CacheControl
The 'Cache-Control' header.
@ ContentEncoding
The 'Content-Encoding' header.
@ ContentLocation
The 'Content-Location' header.
@ ContentType
The 'Content-Type' header.
@ Connection
The 'Connection' header.
@ ContentMd5
The 'Content-MD5' header.
@ Expires
The 'Expires' header.
@ LastModified
The 'Last-Modified' header.
@ Pragma
The 'Pragma' header.
@ Upgrade
The 'Upgrade' header.
Definition: db_command.h:9