GNUnet  0.11.x
Data Fields
GNUNET_REST_RequestHandle Struct Reference

#include <gnunet_rest_lib.h>

Collaboration diagram for GNUNET_REST_RequestHandle:
[legend]

Data Fields

struct GNUNET_CONTAINER_MultiHashMapurl_param_map
 Map of url parameters. More...
 
struct GNUNET_CONTAINER_MultiHashMapheader_param_map
 Map of headers. More...
 
const char * method
 The HTTP method as MHD value (see microhttpd.h) More...
 
const char * url
 The url as string. More...
 
const char * data
 The POST data. More...
 
size_t data_size
 The POST data size. More...
 

Detailed Description

Definition at line 39 of file gnunet_rest_lib.h.

Field Documentation

◆ url_param_map

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_REST_RequestHandle::url_param_map

Map of url parameters.

Definition at line 44 of file gnunet_rest_lib.h.

Referenced by create_response(), get_gns_cont(), namestore_get(), and peerinfo_get().

◆ header_param_map

struct GNUNET_CONTAINER_MultiHashMap* GNUNET_REST_RequestHandle::header_param_map

Map of headers.

Definition at line 49 of file gnunet_rest_lib.h.

Referenced by create_response().

◆ method

const char* GNUNET_REST_RequestHandle::method

The HTTP method as MHD value (see microhttpd.h)

Definition at line 54 of file gnunet_rest_lib.h.

Referenced by create_response(), and GNUNET_REST_handle_request().

◆ url

const char* GNUNET_REST_RequestHandle::url

The url as string.

Definition at line 59 of file gnunet_rest_lib.h.

Referenced by create_response(), and GNUNET_REST_handle_request().

◆ data

const char* GNUNET_REST_RequestHandle::data

The POST data.

Definition at line 64 of file gnunet_rest_lib.h.

Referenced by create_response().

◆ data_size

size_t GNUNET_REST_RequestHandle::data_size

The POST data size.

Definition at line 69 of file gnunet_rest_lib.h.

Referenced by create_response().


The documentation for this struct was generated from the following file: