[ Previous ] [ Contents ] [ Index ] [ Next ]



Return an HTML string to a client


    int Ns_ConnReturnHtml(
    Ns_Conn *conn,
    int status,
    char *html,
    int len


The Ns_ConnReturnHtml function calls the Ns_ConnSetRequiredHeaders function with the given status followed by the given HTML string. The length is used to generate the Content-Length header. If the length is -1, the function calculates the Content-Length from the string. Ns_ConnReturnHtml returns a status of NS_OK or NS_ERROR.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.