src/http/response.c
int default_set_payload_handler(void *r,
                            property_t buf) {
  http_response_t *res = (http_response_t *)r;
  property_move(&res->payload, &buf);
  if ( IS_EMPTY(res->payload) ) {
    DBG("[http] set_payload: fail");
  }
  return 0;
}
// default functions to process payload for the http response
default functions to process payload for the http response
default functions to process payload for the http response
int default_set_payload_handler(void *r,
                            property_t buf) {
  http_response_t *res = (http_response_t *)r;
  property_move(&res->payload, &buf);
  if ( IS_EMPTY(res->payload) ) {
    DBG("[http] set_payload: fail");
  }
  return 0;
}
int default_set_payload_handler ( void * r , property_t buf ) { http_response_t * res = ( http_response_t * ) r ; property_move ( & res -> payload , & buf ) ; if ( IS_EMPTY ( res -> payload ) ) { DBG ( " " ) ; } return 0 ; }
default functions to process payload for the http response
default functions to process payload for the http response