Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_resource_detail Struct Reference

Representation of a server resource, common for all resource types. More...

#include <server.h>

Data Fields

uint32_t bitmask_of_supported_http_methods
 Bitmask of supported HTTP methods (http_method).
 
enum http_resource_type type
 Resource type.
 
int path_len
 Length of the URL path.
 
const char * content_encoding
 Content encoding of the resource.
 
const char * content_type
 Content type of the resource.
 

Detailed Description

Representation of a server resource, common for all resource types.

Field Documentation

◆ bitmask_of_supported_http_methods

uint32_t http_resource_detail::bitmask_of_supported_http_methods

Bitmask of supported HTTP methods (http_method).

◆ content_encoding

const char* http_resource_detail::content_encoding

Content encoding of the resource.

◆ content_type

const char* http_resource_detail::content_type

Content type of the resource.

◆ path_len

int http_resource_detail::path_len

Length of the URL path.

◆ type

enum http_resource_type http_resource_detail::type

Resource type.


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