Table of Contents

HttpClient

Namespace
ZAux
Extends
Inherited Properties
Inherited Methods
Implements

Used to send HTTP requests and receiving HTTP responses from a resource identified by a URI.

Note

The TwinCAT implementation of HttpClient, additionally to Zeugwerk Framework, requires an installation of Zeugwerk HttpClientProxy on a computer in your local network and an ADS route to this server. For questions, contact the support.

FUNCTION_BLOCK HttpClient EXTENDS ZAux.HttpClientAbstract IMPLEMENTS ZCore.IHttpClient, ZCore.IObject, ZCore.IError

Constructor

FB_init

METHOD FB_init (
 bInitRetains : BOOL,
 bInCopyCode : BOOL,
 parent : ZCore.IManagedObject) : BOOL

Inputs

bInitRetains BOOL

if TRUE, the retain variables are initialized (warm start / cold start)

bInCopyCode BOOL

if TRUE, the instance afterwards gets moved into the copy code (online change)

parent IManagedObject

Returns

BOOL