Support combined host and port.

This commit is contained in:
Adam Gu
2018-08-01 12:32:53 +08:00
parent e368ad2efb
commit 3ba0ddbba1
10 changed files with 38 additions and 18 deletions
+4
View File
@@ -43,6 +43,10 @@ extern const std::string kAppJsonUtf8;
extern const std::string kTextXmlUtf8;
#endif // WEBCC_ENABLE_SOAP
// Default ports.
extern const std::string kHttpPort;
extern const std::string kHttpsPort;
// HTTP methods (verbs) in string ("HEAD", "GET", etc.).
// NOTE: Don't use enum to avoid converting back and forth.
extern const std::string kHttpHead;