VSF Documented
Data Fields
vsf_linux_httpd_urihandler_t Struct Reference

#include <vsf_linux_httpd.h>

Data Fields

vsf_linux_httpd_urihandler_match_t match
 
vsf_linux_httpd_urihandler_type_t type
 
char * ext
 
char * uri
 
union { 
 
   const vsf_linux_httpd_urihandler_op_t *   op 
 
   char *   target_uri 
 
};  
 
union { 
 
   struct { 
 
      uint8_t *   ptr 
 
      uint32_t   size 
 
   }   buffer 
 
   struct { 
 
      void *   param 
 
      vsf_linux_httpd_websocket_onopen_t   on_open 
 
      vsf_linux_httpd_websocket_onclose_t   on_close 
 
      vsf_linux_httpd_websocket_onerror_t   on_error 
 
      vsf_linux_httpd_websocket_onmessage_t   on_message 
 
   }   websocket 
 
};  
 
int(* poll_fn )(vsf_linux_httpd_request_t *req, fd_set *rset, fd_set *wset, bool prepare)
 

Field Documentation

◆ match

vsf_linux_httpd_urihandler_match_t vsf_linux_httpd_urihandler_t::match

◆ type

vsf_linux_httpd_urihandler_type_t vsf_linux_httpd_urihandler_t::type

◆ ext

char* vsf_linux_httpd_urihandler_t::ext

◆ uri

char* vsf_linux_httpd_urihandler_t::uri

◆ op

const vsf_linux_httpd_urihandler_op_t* vsf_linux_httpd_urihandler_t::op

◆ target_uri

char* vsf_linux_httpd_urihandler_t::target_uri

◆ [union]

◆ ptr

uint8_t* vsf_linux_httpd_urihandler_t::ptr

◆ size

uint32_t vsf_linux_httpd_urihandler_t::size

◆ [struct]

struct { ... } vsf_linux_httpd_urihandler_t::buffer

◆ param

void* vsf_linux_httpd_urihandler_t::param

◆ on_open

vsf_linux_httpd_websocket_onopen_t vsf_linux_httpd_urihandler_t::on_open

◆ on_close

vsf_linux_httpd_websocket_onclose_t vsf_linux_httpd_urihandler_t::on_close

◆ on_error

vsf_linux_httpd_websocket_onerror_t vsf_linux_httpd_urihandler_t::on_error

◆ on_message

vsf_linux_httpd_websocket_onmessage_t vsf_linux_httpd_urihandler_t::on_message

◆ [struct]

struct { ... } vsf_linux_httpd_urihandler_t::websocket

◆ [union]

◆ poll_fn

int(* vsf_linux_httpd_urihandler_t::poll_fn) (vsf_linux_httpd_request_t *req, fd_set *rset, fd_set *wset, bool prepare)