For now there are two methods: - `NETWORK:IsUrlAllowed()`: Check whether access to a certain URL is allowed. - `NETWORK:HttpRequest()`: Perform an HTTP request. By default access to the network is disabled for all target hosts. It can be enabled by setting `HttpEnable=1` in the preferences. Individual hosts have to be added to `HttpAllowHosts` as a comma separated list to allow access. See included docs for more details on usage.
18 lines
246 B
C++
18 lines
246 B
C++
/*
|
|
* IXUuid.h
|
|
* Author: Benjamin Sergeant
|
|
* Copyright (c) 2017 Machine Zone. All rights reserved.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace ix
|
|
{
|
|
/**
|
|
* Generate a random uuid
|
|
*/
|
|
std::string uuid4();
|
|
|
|
} // namespace ix
|