nn::http::Connection::Finalize Member Function

Syntax

nn::Result Finalize(
     void
);

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Process was successful.
ResultNotConnectedErr Error indicating that no target URL was assigned to the Connection object. No action is performed because the Connection object has not been initialized by a successful call of Initialize.
ResultNotInitializedErr Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize.
A value other than the above. Unexpected error (See http_Result.h for details).

Description

Finalizes communication. Call this function after Initialize is called and after all HTTP operations with the communication target have completed.
(This function does not need to be called for instances where Initialize was not run. Although no problems result if it is called, it does nothing.)
Once this function has been called on a given Connection instance, it is no longer possible to use that instance to retrieve information from the communication target.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL