ultimatepp/reference/UrlInfo/UrlInfo.cpp
cxl 036363c510 .reference
git-svn-id: svn://ultimatepp.org/upp/trunk@9839 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-15 18:51:22 +00:00

22 lines
423 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
UrlInfo f("http://username:password@hostname:9090/path?arg=value&aarg[]=item1&aarg[]=item2#anchor");
DUMP(f.url);
DUMP(f.scheme);
DUMP(f.host);
DUMP(f.port);
DUMP(f.username);
DUMP(f.password);
DUMP(f.path);
DUMP(f.query);
DUMP(f.fragment);
DUMP(f.parameters);
DUMP(f.array_parameters);
}