Microchip® Advanced Software Framework

http_socket Struct Reference

#include <http-socket.h>

Data Fields

uint64_t bodylen
 
http_socket_callback_t callback
 
void * callbackptr
 
const char * content_type
 
struct http_socket_header header
 
int header_chars
 
char header_field [15]
 
uint8_t header_received
 
struct pt pt headerpt
 
uint8_t inputbuf [HTTP_SOCKET_INPUTBUFSIZE]
 
uint64_t length
 
struct http_socketnext
 
uint8_t outputbuf [HTTP_SOCKET_OUTPUTBUFSIZE]
 
int64_t pos
 
const uint8_t * postdata
 
uint16_t postdatalen
 
struct tcp_socket s
 
struct etimer timeout_timer
 
uint8_t timeout_timer_started
 
char url [HTTP_SOCKET_URLLEN]
 

uint64_t http_socket::bodylen

Referenced by input_pt().

http_socket_callback_t http_socket::callback
void* http_socket::callbackptr
const char* http_socket::content_type

Referenced by event(), and http_socket_post().

struct http_socket_header http_socket::header

Referenced by input_pt(), and parse_header_byte().

int http_socket::header_chars

Referenced by parse_header_byte().

char http_socket::header_field[15]

Referenced by parse_header_byte().

uint8_t http_socket::header_received

Referenced by input_pt().

struct pt pt http_socket::headerpt
uint8_t http_socket::inputbuf[HTTP_SOCKET_INPUTBUFSIZE]
uint64_t http_socket::length
struct http_socket* http_socket::next
uint8_t http_socket::outputbuf[HTTP_SOCKET_OUTPUTBUFSIZE]
int64_t http_socket::pos
const uint8_t* http_socket::postdata
uint16_t http_socket::postdatalen
struct etimer http_socket::timeout_timer
uint8_t http_socket::timeout_timer_started