SendHTTPHeader function
The SendHTTPHeader function will create and send a HTTP-response header to the client.Syntax
void __stdcall SendHTTPHeader(
__in ProtocolSession *psess,
__in ClientSession *sess,
__in ResponseHeader *resp,
__in int timeout
);
Parameters
psess [in] A pointer to a ProtocolSession structure. This is a session assigned to a protocol at the moment it's loaded into the memory.
sess [in] A pointer to a ClientSession structure. This is a session assigned to a new connection. This connection has been created by a type PT_RECEIVER protocol.
resp [in] A pointer to a ResponseHeader structure containing information about the HTTP-header this function should generate.
timeout [in] The time in miliseconds that the client is allowed to block the connection. Set this parameter to zero for no timeout.
Return value
This function does not return a value.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|
Library(x86) | tvs_server_http_protocol_x86.lib
|
Library(x64) | tvs_server_http_protocol_x64.lib
|
DLL(x86) | tvs_server_http_protocol_x86.DLL
|
DLL(x64) | tvs_server_http_protocol_x64.DLL
|