Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

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.

 

 

  • No labels