• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Protocols - ExternalControl I/O
  • HTTPRequest
  • 5.0.0

HTTPRequest Class

(ExternalControlIO::HTTPRequest)

HTTPRequest class. Implements HTTP request using URLRequestBase. More...

Header: #include <HTTPRequest>
Inherits: URLRequestBase
  • List of all members, including inherited members

Public Functions

HTTPRequest()
~HTTPRequest() override

Reimplemented Public Functions

virtual void Configure(XMLElementEx *xml, ExternalControlBroker *parentComp, RequestBase *parentRequest) override
virtual bool LastRequestFailed() const override
  • 1 public function inherited from ExternalControlIO::URLRequestBase
  • 7 public functions inherited from ExternalControlIO::RequestBase
  • 27 public functions inherited from CDP::StudioAPI::CDPNode
  • 1 public function inherited from OSAPIThread
  • 2 public functions inherited from ServerIO::ISendTrigger
  • 22 public functions inherited from CDP::StudioAPI::ICDPNode
  • 15 public functions inherited from OSAPITask

Protected Functions

std::string AdditionalHttpHeaders() const
const HTTPRequest *RootParent() const

Reimplemented Protected Functions

virtual std::string DefaultTranslator(XMLElementEx *requestXML, std::string streamType) const override
virtual void FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const override
virtual std::string GetNodeTypeName() const override
virtual long LibCURLProtocol() const override
virtual void SetConnectionOptions(LibCURLRequest &request) const override
virtual bool TLSSupported() const override
  • 14 protected functions inherited from ExternalControlIO::URLRequestBase
  • 33 protected functions inherited from ExternalControlIO::RequestBase
  • 1 protected function inherited from CDP::StudioAPI::CDPNode
  • 1 protected function inherited from OSAPIThread

Additional Inherited Members

  • 2 static public members inherited from ExternalControlIO::RequestBase
  • 1 protected type inherited from OSAPITask

Detailed Description

HTTPRequest class. Implements HTTP request using URLRequestBase.

PS! This C++ class is used also for HTTPSubRequest CDP template model.

Member Function Documentation

HTTPRequest::HTTPRequest()

Default constructs an instance of HTTPRequest.

HTTPRequest::~HTTPRequest()

Destroys the instance of HTTPRequest.

[protected] std::string HTTPRequest::AdditionalHttpHeaders() const

[override virtual] void HTTPRequest::Configure(XMLElementEx *xml, ExternalControlBroker *parentComp, RequestBase *parentRequest)

[override virtual protected] std::string HTTPRequest::DefaultTranslator(XMLElementEx *requestXML, std::string streamType) const

[override virtual protected] void HTTPRequest::FillNodeChildren(CDP::StudioAPI::NodeStream &stream) const

[override virtual protected] std::string HTTPRequest::GetNodeTypeName() const

[override virtual] bool HTTPRequest::LastRequestFailed() const

[override virtual protected] long HTTPRequest::LibCURLProtocol() const

[protected] const HTTPRequest *HTTPRequest::RootParent() const

[override virtual protected] void HTTPRequest::SetConnectionOptions(LibCURLRequest &request) const

[override virtual protected] bool HTTPRequest::TLSSupported() const

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top