TCPIP_HTTP_NET_ConnectionHasArgsSet Function

C

void TCPIP_HTTP_NET_ConnectionIsAuthorizedSet(
    TCPIP_HTTP_NET_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 template_ConnectionFileAuthenticate() function.

Preconditions

None.

Parameters

ParametersDescription
connHandleHTTP connection handle.
authNew authorization state.

Returns

None.

Remarks

None.

Example

uint8_t auth = 0x80;

TCPIP_HTTP_NET_ConnectionIsAuthorizedSet(connHandle, auth);