CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
web_request_methods.h
1
2#pragma once
3
4#include <system/object.h>
5#include <system/string.h>
6
7namespace System { namespace Net {
8
10class ASPOSECPP_SHARED_API WebRequestMethods
11{
12public:
14 class ASPOSECPP_SHARED_CLASS Ftp
15 {
16 public:
18 static ASPOSECPP_SHARED_API const String DownloadFile;
20 static ASPOSECPP_SHARED_API const String ListDirectory;
22 static ASPOSECPP_SHARED_API const String UploadFile;
24 static ASPOSECPP_SHARED_API const String DeleteFile;
26 static ASPOSECPP_SHARED_API const String AppendFile;
28 static ASPOSECPP_SHARED_API const String GetFileSize;
30 static ASPOSECPP_SHARED_API const String UploadFileWithUniqueName;
32 static ASPOSECPP_SHARED_API const String MakeDirectory;
34 static ASPOSECPP_SHARED_API const String RemoveDirectory;
36 static ASPOSECPP_SHARED_API const String ListDirectoryDetails;
38 static ASPOSECPP_SHARED_API const String GetDateTimestamp;
40 static ASPOSECPP_SHARED_API const String PrintWorkingDirectory;
42 static ASPOSECPP_SHARED_API const String Rename;
43
45 Ftp() = delete;
46 };
47
49 class ASPOSECPP_SHARED_CLASS Http
50 {
51 public:
53 static ASPOSECPP_SHARED_API const String Get;
55 static ASPOSECPP_SHARED_API const String Connect;
57 static ASPOSECPP_SHARED_API const String Head;
59 static ASPOSECPP_SHARED_API const String Put;
61 static ASPOSECPP_SHARED_API const String Post;
63 static ASPOSECPP_SHARED_API const String MkCol;
64
66 Http() = delete;
67 };
68
70 class ASPOSECPP_SHARED_CLASS File
71 {
72 public:
74 static ASPOSECPP_SHARED_API const String DownloadFile;
76 static ASPOSECPP_SHARED_API const String UploadFile;
77
79 File() = delete;
80 };
81};
82
83}} // namespace System::Net
Represents the string constants for downloading and uploading a file.
Definition: web_request_methods.h:71
File()=delete
The deleted default constructor.
static const String DownloadFile
The string representation of the 'GET' method of FILE.
Definition: web_request_methods.h:74
static const String UploadFile
The string representation of the 'PUT' method of FILE.
Definition: web_request_methods.h:76
Represents the string constants of FTP.
Definition: web_request_methods.h:15
static const String RemoveDirectory
The string representation of the 'RMD' method of FTP.
Definition: web_request_methods.h:34
static const String GetDateTimestamp
The string representation of the 'MDTM' method of FTP.
Definition: web_request_methods.h:38
Ftp()=delete
The deleted default constructor.
static const String AppendFile
The string representation of the 'APPE' method of FTP.
Definition: web_request_methods.h:26
static const String ListDirectoryDetails
The string representation of the 'LIST' method of FTP.
Definition: web_request_methods.h:36
static const String UploadFileWithUniqueName
The string representation of the 'STOU' method of FTP.
Definition: web_request_methods.h:30
static const String DownloadFile
The string representation of the 'RETR' method of FTP.
Definition: web_request_methods.h:18
static const String UploadFile
The string representation of the 'STOR' method of FTP.
Definition: web_request_methods.h:22
static const String PrintWorkingDirectory
The string representation of the 'PWD' method of FTP.
Definition: web_request_methods.h:40
static const String MakeDirectory
The string representation of the 'MKD' method of FTP.
Definition: web_request_methods.h:32
static const String ListDirectory
The string representation of the 'NLST' method of FTP.
Definition: web_request_methods.h:20
static const String DeleteFile
The string representation of the 'DELE' method of FTP.
Definition: web_request_methods.h:24
static const String Rename
The string representation of the 'RENAME' method of FTP.
Definition: web_request_methods.h:42
static const String GetFileSize
The string representation of the 'SIZE' method of FTP.
Definition: web_request_methods.h:28
Represents the string constants of HTTP.
Definition: web_request_methods.h:50
static const String Head
The string representation of the 'HEAD' method of HTTP.
Definition: web_request_methods.h:57
static const String MkCol
The string representation of the 'MKCOL' method of HTTP.
Definition: web_request_methods.h:63
Http()=delete
The deleted default constructor.
static const String Connect
The string representation of the 'CONNECT' method of HTTP.
Definition: web_request_methods.h:55
static const String Get
The string representation of the 'GET' method of HTTP.
Definition: web_request_methods.h:53
static const String Post
The string representation of the 'POST' method of HTTP.
Definition: web_request_methods.h:61
static const String Put
The string representation of the 'PUT' method of HTTP.
Definition: web_request_methods.h:59
Represents the string constants of web requests.
Definition: web_request_methods.h:11
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9