This topic has not yet been rated - Rate this topic

CHttpResponse::AsyncPrep

Visual Studio .NET 2003

Call this method to prepare an HTTP response object for writing asynchronously.

BOOL AsyncPrep(
   BOOL fKeepConn = FALSE 
) throw( );

Parameters

fKeepConn
TRUE if the HTTP connection to the client should be kept, FALSE otherwise.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

This method sends the response headers to the client if they have not already been sent.

Example

See the PooledAsync Sample.

See Also

CHttpResponse Overview | Class Members | Writing Asynchronous Web Applications

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.