ManiaScript Reference  2019-05
CHttpManager Struct Reference
Inheritance diagram for CHttpManager:
CNod

Public Member Functions

CHttpRequest CreateGet (Text Url)
 
CHttpRequest CreateGet (Text Url, Boolean UseCache)
 
CHttpRequest CreateGet (Text Url, Boolean UseCache, Text AdditionalHeaders)
 
CHttpRequest CreatePost (Text Url, Text Resource)
 
CHttpRequest CreatePost (Text Url, Text Resource, Text AdditionalHeaders)
 
CHttpRequest CreatePostFile (Text Url, Text FileName, Text AdditionalHeaders)
 
Void Destroy (CHttpRequest Request)
 
Boolean IsValidUrl (Text Url)
 

Public Attributes

const CHttpRequest [] Requests
 
const Integer SlotsAvailable
 
const CHttpEvent [] PendingEvents
 
Boolean AutomaticHeaders_Timezone
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Manager for HTTP requests

Member Function Documentation

◆ CreateGet() [1/3]

CHttpRequest CHttpManager::CreateGet ( Text  Url)

Create a get request, AdditionnalHeaders format is : "Header-name: Value\nOther-name: OtherValue"

◆ CreateGet() [2/3]

CHttpRequest CHttpManager::CreateGet ( Text  Url,
Boolean  UseCache 
)

◆ CreateGet() [3/3]

CHttpRequest CHttpManager::CreateGet ( Text  Url,
Boolean  UseCache,
Text  AdditionalHeaders 
)

◆ CreatePost() [1/2]

CHttpRequest CHttpManager::CreatePost ( Text  Url,
Text  Resource 
)

◆ CreatePost() [2/2]

CHttpRequest CHttpManager::CreatePost ( Text  Url,
Text  Resource,
Text  AdditionalHeaders 
)

◆ CreatePostFile()

CHttpRequest CHttpManager::CreatePostFile ( Text  Url,
Text  FileName,
Text  AdditionalHeaders 
)

◆ Destroy()

Void CHttpManager::Destroy ( CHttpRequest  Request)

◆ IsValidUrl()

Boolean CHttpManager::IsValidUrl ( Text  Url)

Member Data Documentation

◆ AutomaticHeaders_Timezone

Boolean CHttpManager::AutomaticHeaders_Timezone

◆ PendingEvents

const CHttpEvent [] CHttpManager::PendingEvents

◆ Requests

const CHttpRequest [] CHttpManager::Requests

◆ SlotsAvailable

const Integer CHttpManager::SlotsAvailable