can GET some pages
This commit is contained in:
21
ixwebsocket/IXUrlParser.h
Normal file
21
ixwebsocket/IXUrlParser.h
Normal file
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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);
|
||||
}
|
Reference in New Issue
Block a user