TCPIP_HTTP_NET_ConnectionIsAuthorizedGet Function

C

uint8_t TCPIP_HTTP_NET_ConnectionIsAuthorizedGet(
    TCPIP_HTTP_NET_CONN_HANDLE connHandle
);

Description

This function returns the authorization status for the current HTTP connection. This is one of the values returned by the template_ConnectionFileAuthenticate() function.

Preconditions

None.

Parameters

ParametersDescription
connHandleHTTP connection handle.

Returns

  • A uint8_t representing the authorization status.

Remarks

None.

Example

uint8_t isAuth;

isAuth = TCPIP_HTTP_NET_ConnectionIsAuthorizedGet(connHandle);