nn::http NamespaceNamespace for the HTTP communication API.
Note: This library has been prepared for debugging purposes. If you intend to include it in your retail product, contact Nintendo at support@noa.com.
nn::http::CertStore
|
Class representing an HTTPS certificate store. Use this to reuse the same CA certificate store with multiple HTTPS communication sessions. |
|---|---|
nn::http::ClientCert
|
Class representing an HTTPS client certificate. Use this to reuse the same client certificate with multiple HTTPS communication sessions. |
nn::http::Connection
|
Class that represents HTTP communication. A single instance of this class is used for a single HTTP communication session with a single URL. |
RequestMethod
|
HTTP request methods. | |
|---|---|---|
EncodingType
|
Encoding types for POST data. | |
PostDataType
|
Types of POST data. | |
Status
|
Connection statuses. | |
ProxyAuthType
|
Proxy authentication type. | |
ResultCode
|
Function result codes. Stored as description elements in the Result returned from API functions. |
typedef Definitions
CertId
|
Certificate ID. | |
|---|---|---|
InternalCaCertId
|
Internal CA certificate ID. (Same meaning as SSL's nn::ssl::InternalCaCert value.) | |
InternalClientCertId
|
Internal client certificate ID. (Same meaning as SSL's nn::ssl::InternalCaCert value.) | |
CertStoreId
|
Certificate store ID. | |
ConnectionHandle
|
Connection handle ID. This corresponds to the handle ID that the nhttp library assigns to each connection. |
| Initialize/Finalize Entire Library | ||
|---|---|---|
Initialize
|
Initializes the HTTP library. Processes that link against the HTTP library must call this before using the library. | |
Finalize
|
Finalizes the HTTP library. Processes that link against the HTTP library must call this after they are done using the library. | |
| Other | ||
NN_DEFINE_RESULT_CONST_LM
|
Returns a Result indicating the following error: "Invalid status." |
|
CONFIDENTIAL