use local request parser

This commit is contained in:
yggverse 2024-08-15 16:15:26 +03:00
parent 4da1e4d9c2
commit 75300eb45e
7 changed files with 82 additions and 87 deletions

View file

@ -4,15 +4,35 @@
#include <glibmm/i18n.h>
#include <gtkmm/entry.h>
#include <regex>
#include <string>
namespace app::browser::main::tab::data::navbar
{
class Request : public Gtk::Entry
{
private:
std::string scheme,
host,
port,
path,
query;
void parse();
public:
Request();
~Request();
std::string get_scheme();
std::string get_host();
std::string get_path();
std::string get_query();
int get_port();
};
}