TCPIP_HTTP_CurrentConnectionIsAuthorizedGet Function

C

uint8_t TCPIP_HTTP_CurrentConnectionIsAuthorizedGet(
    HTTP_CONN_HANDLE connHandle
);

Description

This function returns the authorization status for the current HTTP connection. This is one of the values returned by the TCPIP_HTTP_FileAuthenticate() 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_CurrentConnectionIsAuthorizedGet(connHandle);