Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.00.00

Called after a connection connect tryout with the remote HTTP server.

Like for every hook functions, it's only available when the µC/HTTP-client internal task is active (HTTPc_CFG_MODE_ASYNC_TASK_EN). This hook function can be set up with the API function HTTPc_ConnSetParam() with parameter type HTTPc_PARAM_TYPE_CONN_CONNECT_CALLBACK. This hook is mandatory when the API function HTTPc_ConnOpen() is called in no-blocking mode.

Prototype

Arguments

p_conn

Pointer to the current HTTPc Connection Object.

open_status

Status of the connection:

DEF_OK,      if the connection with the server was successful.

DEF_FAIL, otherwise.

Return Values

None.

Required Configuration

The HTTPc Internal Task must be active. See the section Task Configuration in the Compile-Time Configuration page.

Notes / Warnings

None.

Example Template