ultimatepp/reference/UrlInfo/UrlInfo.cpp
cxl 8628a18585 .reference
git-svn-id: svn://ultimatepp.org/upp/trunk@9837 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-15 18:36:48 +00:00

22 lines
419 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.user);
DUMP(f.password);
DUMP(f.path);
DUMP(f.query);
DUMP(f.fragment);
DUMP(f.parameters);
DUMP(f.array_parameters);
}