mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
reorder methods
This commit is contained in:
parent
0a878a7ca8
commit
16d096e338
1 changed files with 26 additions and 27 deletions
|
|
@ -86,33 +86,6 @@ void Request::refresh(
|
|||
);
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Request::get_scheme()
|
||||
{
|
||||
return scheme;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_host()
|
||||
{
|
||||
return host;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_port()
|
||||
{
|
||||
return port;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_path()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_query()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
// Private helpers
|
||||
void Request::parse()
|
||||
{
|
||||
auto match = Glib::Regex::split_simple(
|
||||
|
|
@ -141,4 +114,30 @@ void Request::parse()
|
|||
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Request::get_scheme()
|
||||
{
|
||||
return scheme;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_host()
|
||||
{
|
||||
return host;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_port()
|
||||
{
|
||||
return port;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_path()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
Glib::ustring Request::get_query()
|
||||
{
|
||||
return path;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue