IXWebSocket/ixwebsocket/IXUrlParser.h
2019-02-25 15:55:38 -08:00

22 lines
438 B
C++

/*
* IXUrlParser.h
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include <string>
namespace ix
{
bool parseUrl(const std::string& url,
std::string& protocol,
std::string& host,
std::string& path,
std::string& query,
int& port);
void printUrl(const std::string& url);
}