HttpEvent.add Method

Parent Object: HttpEvent
Defined in namespace "adsk::core" and the header file is <Core/Application/HttpEvent.h>

Description

Add a handler to be notified when the event occurs.

Syntax

"httpEvent_var" is a variable referencing a HttpEvent object.
returnValue = httpEvent_var.add(handler)
"httpEvent_var" is a variable referencing a HttpEvent object.

#include <Core/Application/HttpEvent.h>

returnValue = httpEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the addition of the handler was successful.

Parameters

Name Type Description
handler HttpEventHandler The handler object to be called when this event is fired.

Version

Introduced in version January 2024