Files
itgmania212121/extern/IXWebSocket-11.3.2/ixwebsocket/IXUrlParser.h
T

24 lines
503 B
C++
Raw Normal View History

2021-09-11 23:21:34 +02:00
/*
* IXUrlParser.h
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include <string>
namespace ix
{
class UrlParser
{
public:
static bool parse(const std::string& url,
std::string& protocol,
std::string& host,
std::string& path,
std::string& query,
int& port);
};
} // namespace ix