mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Added more helpers to Request.
This commit is contained in:
parent
e7d4772ef3
commit
68ecd088c5
@ -235,6 +235,16 @@ String Request::get_url_site() const {
|
||||
return path;
|
||||
}
|
||||
|
||||
String Request::get_url_root_parent(const String &add) const {
|
||||
return get_url_root_parent() + add;
|
||||
}
|
||||
String Request::get_url_root(const String &add) const {
|
||||
return get_url_root() + add;
|
||||
}
|
||||
String Request::get_url_site(const String &add) const {
|
||||
return get_url_site() + add;
|
||||
}
|
||||
|
||||
String Request::get_host() const {
|
||||
return "";
|
||||
}
|
||||
|
@ -78,8 +78,11 @@ public:
|
||||
String get_url_root_parent() const;
|
||||
String get_url_root() const;
|
||||
String get_url_site() const;
|
||||
|
||||
|
||||
String get_url_root_parent(const String &add) const;
|
||||
String get_url_root(const String &add) const;
|
||||
String get_url_site(const String &add) const;
|
||||
|
||||
virtual void update();
|
||||
virtual void pool();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user