Microchip® Advanced Software Framework

http_client_data_disconnected Struct Reference

Structure of the HTTP_CLIENT_CALLBACK_DISCONNECTED callback.

#include <http_client.h>

Data Fields

int reason
 Reason of disconnecting. More...
 

int http_client_data_disconnected::reason

Reason of disconnecting.

Returns
-ENOENT No such address.
-EINVAL Invalid argument.
-ENOSPC No space left on device.
-EIO Device was occurred error due to unknown exception.
-EDESTADDRREQ Destination address required.
-ECONNRESET Connection reset by peer.
-EAGAIN Try again.
-EBUSY Device or resource busy.
-EADDRINUSE Address already in use.
-EALREADY Socket already connected.
-ENOTCONN Service in bad state.
-ECONNREFUSED Connection refused.
-EOVERFLOW Value too large for defined data type.
-EBADMSG Not a data message.
-ENOTSUP Unsupported operation.

Referenced by http_client_callback().