19 lines
320 B
C++
19 lines
320 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
class Url
|
|
{
|
|
private:
|
|
std::string path;
|
|
std::string query;
|
|
std::string fragment;
|
|
|
|
public:
|
|
bool HasPath() const;
|
|
bool HasQuery() const;
|
|
bool HasFragment() const;
|
|
|
|
std::string const & GetPath() const;
|
|
std::string const & GetQuery() const;
|
|
std::string const & GetFragment() const;
|
|
}; |