Ns_ConnPrintfHeader

Name

Ns_ConnPrintfHeader -- Return a formatted header

Syntax

int Ns_ConnPrintfHeader (Ns_Conn *conn, char *fmt, ...);

Description

The Ns_ConnPrintfHeader function constructs a formatted string using the given format specification and any optional arguments. It then appends the necessary line feed and carriage return characters and sends the header to the client.