TCPIP_HTTP_CurrentConnectionIsAuthorizedSet Function

C

void TCPIP_HTTP_CurrentConnectionIsAuthorizedSet(
    HTTP_CONN_HANDLE connHandle, 
    uint8_t auth
);

Description

This function sets the authorization status for the current HTTP connection. This has to be one of the values in the set returned by the TCPIP_HTTP_FileAuthenticate() function.

Preconditions

None.

Parameters

ParametersDescription
connHandleHTTP connection handle.
authNew authorization state.

Returns

None.

Remarks

None.

Example

uint8_t auth = 0x80;

TCPIP_HTTP_CurrentConnectionIsAuthorizedSet(connHandle, auth);