Use LUrlParser to fix issue of Windows (#53)

LGTM
This commit is contained in:
Dimon4eg
2019-05-07 00:45:02 +03:00
committed by Benjamin Sergeant
parent ea2e8f0787
commit 979ff60a6b
9 changed files with 366 additions and 52 deletions

View File

@ -7,7 +7,6 @@
#pragma once
#include <string>
#include <regex>
namespace ix
{
@ -19,13 +18,8 @@ namespace ix
std::string& host,
std::string& path,
std::string& query,
int& port,
bool websocket);
int& port);
static void printUrl(const std::string& url, bool websocket);
private:
static std::regex _httpRegex;
static std::regex _webSocketRegex;
static void printUrl(const std::string& url);
};
}