|
|
@ -3,6 +3,7 @@ |
|
|
|
using namespace app::browser::main::tab::data::navbar; |
|
|
|
using namespace app::browser::main::tab::data::navbar; |
|
|
|
using namespace std; |
|
|
|
using namespace std; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Construct
|
|
|
|
Request::Request() |
|
|
|
Request::Request() |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Init entry
|
|
|
|
// Init entry
|
|
|
@ -14,8 +15,6 @@ Request::Request() |
|
|
|
true |
|
|
|
true |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
parse(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Connect events
|
|
|
|
// Connect events
|
|
|
|
signal_changed().connect( |
|
|
|
signal_changed().connect( |
|
|
|
[this] |
|
|
|
[this] |
|
|
@ -40,6 +39,8 @@ Request::Request() |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Request::~Request() = default; |
|
|
|
|
|
|
|
|
|
|
|
// Getters
|
|
|
|
// Getters
|
|
|
|
string Request::get_scheme() |
|
|
|
string Request::get_scheme() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -90,6 +91,4 @@ void Request::parse() // make private?? |
|
|
|
port = results[5]; |
|
|
|
port = results[5]; |
|
|
|
path = results[6]; |
|
|
|
path = results[6]; |
|
|
|
query = results[8]; |
|
|
|
query = results[8]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Request::~Request() = default; |
|
|
|
|