TCPIP_HTTP_NET_UserHandlerDeregister Function

C

bool TCPIP_HTTP_NET_UserHandlerDeregister( TCPIP_HTTP_NET_USER_HANDLE hHttp );

Description

This function deregisters a HTTP user callback handler.

Preconditions

The HTTP server module properly initialized.

Parameters

ParametersDescription
hHttpA handle returned by a previous call to TCPIP_HTTP_NET_UserHandlerRegister().

Returns

  • True - If the call succeeds.

  • False - If no such handler is registered or there are active connections.

Remarks

The call will fail if there is active HTTP traffic. The handler cannot be deregistered while HTTP traffic is in progress.