HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_WebAPI.h File Reference
#include "NET_API.h"
#include "NET_ConvertToType.h"
#include "NET_WebResponse.h"
#include "NET_WebTypes.h"
#include "NET_WebSocket.h"
#include "NET_WebAPIResponse.h"
#include <NET/NET_NetworkCookie.h>
#include <NET/NET_NetworkCookieStore.h>
#include <NET/NET_Time.h>
#include <NET/NET_Utils.h>
#include <type_traits>
#include <UT/UT_ArrayStringMap.h>
#include <UT/UT_DeepString.h>
#include <UT/UT_JSONValue.h>
#include <UT/UT_JSONWriter.h>
#include <UT/UT_Lock.h>
#include <UT/UT_Optional.h>
#include <UT/UT_ScopeExit.h>
#include <UT/UT_SharedPtr.h>
#include <UT/UT_String.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_Url.h>
#include <UT/UT_Variant.h>
#include <UT/UT_WorkBuffer.h>
#include <chrono>
+ Include dependency graph for NET_WebAPI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NET_WebAPIParameters
 
class  NET_WebAPIBody
 
class  NET_WebAPIFunction
 
class  NET_WebAPICookies
 
class  NET_WebAPITimeout
 
class  NET_WebAPICa
 
class  NET_WebAPIVerbose
 
class  NET_WebAPIProxy
 
class  NET_WebAPIRedirects
 
class  NET_WebAPILowSpeed
 
class  NET_WebsiteAPIResponse
 This is a deprecated class used just for older code. More...
 
class  NET_NetSession
 
class  NET_WebAPI
 
struct  NET::details::detect_last< Count, Args >
 
struct  NET::details::detect_last< 0, Args...>
 

Namespaces

 NET
 
 NET::details
 

Macros

#define __NET_WEB_REQUIRES(T)   typename std::enable_if<T>::type * = nullptr
 
#define NET_IS_KWARG(T)   (std::is_same<std::decay_t<T>, UT_VariantMap>::value)
 

Functions

NET_API void NETinitializeBackend ()
 
template<typename... Args>
NET_HTTPResponse NEThttpGet (const UT_Url &url, Args &&...args)
 
template<typename... Args>
NET_HTTPResponse NEThttpPost (const UT_Url &url, Args &&...args)
 

Macro Definition Documentation

#define __NET_WEB_REQUIRES (   T)    typename std::enable_if<T>::type * = nullptr

Definition at line 336 of file NET_WebAPI.h.

#define NET_IS_KWARG (   T)    (std::is_same<std::decay_t<T>, UT_VariantMap>::value)

Definition at line 338 of file NET_WebAPI.h.

Function Documentation

template<typename... Args>
NET_HTTPResponse NEThttpGet ( const UT_Url url,
Args &&...  args 
)
inline

Definition at line 377 of file NET_WebAPI.h.

template<typename... Args>
NET_HTTPResponse NEThttpPost ( const UT_Url url,
Args &&...  args 
)
inline

Definition at line 384 of file NET_WebAPI.h.

NET_API void NETinitializeBackend ( )

If you are using curl then you must call this function prior to set the library up