Ns_ConnCopyToDString

Name

Ns_ConnCopyToDString -- Copy data from connection to dynamic string

Syntax

int Ns_ConnCopyToDString (Ns_Conn *conn, size_t iToCopy, Ns_DString *pds);

Description

The Ns_ConnCopyToDString function copies iToCopy bytes of data from the connection to the Ns_DString pointed to by pds. Ns_ConnCopyToDString returns a status of NS_OK or NS_ERROR.

Example

See the example for Ns_ConnContentLength.