nnHttpResultCode Enumerated Typeenum nnHttpResultCode;
| Value | Description |
|---|---|
| NN_HTTP_ER_NONE | No error. |
| NN_HTTP_ER_INVALID_STATUS | Invalid status. |
| NN_HTTP_ER_INVALID_PARAM | Invalid parameter. |
| NN_HTTP_ER_NOMEM | Dynamic memory allocation failure. |
| NN_HTTP_ER_CREATE_EVENT | Event generation failure. |
| NN_HTTP_ER_CREATE_MUTEX | Mutex creation failure. |
| NN_HTTP_ER_CREATE_QUEUE | Message queue creation failure. |
| NN_HTTP_ER_CREATE_THREAD | Thread creation failure. |
| NN_HTTP_ER_CONNECTION_NOT_INITIALIZED | Connection not initialized. |
| NN_HTTP_ER_ALREADY_ASSIGN_HOST | Communication target already assigned. |
| NN_HTTP_ER_SESSION | Session taken over by an illegal process. |
| NN_HTTP_ER_CLIENT_PROCESS_MAX | Number of clients equivalent to the maximum number of simultaneous client processes already being used. |
| NN_HTTP_ER_IPC_SESSION_MAX | Maximum number of simultaneous IPC session connections is already connected. (Number of clients and number of connections both already at the maximum.) |
| NN_HTTP_ER_TIMEOUT | Timeout. |
| NN_HTTP_ER_ALREADY_INITIALIZED | Library already initialized. |
| NN_HTTP_ER_NOT_INITIALIZED | Library not yet initialized. |
| NN_HTTP_ER_MSGQ_SEND_LSN | Failure sending to listener thread message queue. |
| NN_HTTP_ER_MSGQ_RECV_LSN | Failure receiving from listener thread message queue. |
| NN_HTTP_ER_MSGQ_RECV_COMM | Failure receiving from communication thread message queue. |
| NN_HTTP_ER_CONN_NOMORE | Maximum number of connection handles exceeded. |
| NN_HTTP_ER_CONN_NOSUCH | No such connection handle. |
| NN_HTTP_ER_CONN_STATUS | Connection handle status invalid. |
| NN_HTTP_ER_CONN_ADD | Connection handle registration failure. |
| NN_HTTP_ER_CONN_CANCELED | Connection handle canceled. |
| NN_HTTP_ER_CONN_HOST_MAX | Maximum number of connections to same host exceeded. |
| NN_HTTP_ER_CONN_PROCESS_MAX | Maximum number of connections used by one process exceeded. |
| NN_HTTP_ER_REQ_URL | Invalid URL. |
| NN_HTTP_ER_REQ_CONNMSG_PORT | Invalid CONNECT send port number. |
| NN_HTTP_ER_REQ_UNKNOWN_METHOD | Unrecognized method. |
| NN_HTTP_ER_RES_HEADER | Invalid HTTP header. |
| NN_HTTP_ER_RES_NONEWLINE | No newline in HTTP header. |
| NN_HTTP_ER_RES_BODYBUF | HTTP body receive buffer error. |
| NN_HTTP_ER_RES_BODYBUF_SHORTAGE | HTTP body receive buffer too small. |
| NN_HTTP_ER_POST_ADDED_ANOTHER | Failure adding to POST data (different POST type already exists). |
| NN_HTTP_ER_POST_BOUNDARY | Boundary cannot be properly set. |
| NN_HTTP_ER_POST_SEND | POST request send failure. |
| NN_HTTP_ER_POST_UNKNOWN_ENCTYPE | Unknown encoding type. |
| NN_HTTP_ER_POST_NODATA | Send data not set. |
| NN_HTTP_ER_SSL | SSL error. |
| NN_HTTP_ER_SSL_CERT_EXIST | SSL certificate already set (must be deleted before re-registering). |
| NN_HTTP_ER_SSL_NO_CA_CERT_STORE | No such SSL CA certificate store registered. |
| NN_HTTP_ER_SSL_NO_CLIENT_CERT | No such SSL client certificate registered. |
| NN_HTTP_ER_SSL_CA_CERT_STORE_MAX | Maximum number of simultaneously registerable SSL per-process CA certificate stores already registered. |
| NN_HTTP_ER_SSL_CLIENT_CERT_MAX | Maximum number of simultaneously registerable SSL per-process client certificates already registered. |
| NN_HTTP_ER_SSL_FAIL_TO_CREATE_CERT_STORE | Failed to create SSL certificate store. |
| NN_HTTP_ER_SSL_FAIL_TO_CREATE_CLIENT_CERT | Failed to create SSL client certificate. |
| NN_HTTP_ER_SOC_DNS | DNS name resolution failure. |
| NN_HTTP_ER_SOC_SEND | Socket data send failure. |
| NN_HTTP_ER_SOC_RECV | Socket data receive failure. |
| NN_HTTP_ER_SOC_CONN | Socket connection failure. |
| NN_HTTP_ER_SOC_KEEPALIVE_DISCONNECTED | Keep-Alive communications have been disconnected from the server side. |
| NN_HTTP_ER_GET_PROXY_SETTING | Failed to get proxy value set by device. |
API C-language result codes. These result codes are stored in the description element of the nnResult instance returned by the functions in the API.
CONFIDENTIAL