nn::http::Connection::Initialize Member Function

Syntax

nn::Result Initialize(
     const char * pUrl,
     RequestMethod method = REQUEST_METHOD_GET,
     bool isUseDefaultProxy = true
);

Arguments

Name Description
in pUrl URL string for host to communicate with.
in method HTTP request method (if unspecified, nn::http::REQUEST_METHOD_GET is used by default).)
in isUseDefaultProxy Specifies whether to use the default proxy settings that are configured for the device. (Specify true to use the default proxy settings. If unspecified, this value will default to true.)

Return Values

Returns the processing result.

Description

Initializes a Connection, and assigns a URL and method to it.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL