HTTPs_RespBodySetParamNoBody
Set the parameters to specify that no body must be sent in the HTTP response.
This function will changed the following parameters of the HTTPs_CONN
structure object :
RespBodyDataType
RespContentType
DataPtr
DataLen
Flags
Files
http-s.h
/ http-s.c
Prototype
void HTTPs_RespBodySetParamNoBody (const HTTPs_INSTANCE *p_instance, HTTPs_CONN *p_conn, HTTPs_ERR *p_err);
Arguments
p_instance
Pointer to the HTTP server instance structure.
p_conn
Pointer to the connection structure.
p_err
Pointer to variable that will receive the return error code.
Returned values
None.
Required Configuration
None.
Notes / Warnings
Must be called from a callback function only. Should be called by the function pointed by OnReqHook
or OnReqRdySignalHook
in the Hook Configuration of the instance configuration. The instance lock must be acquired before calling this function. It is why this function must be called from a callback function.