Skip to content

Struct SYN_HttpdRoute

ClassList > SYN_HttpdRoute

An HTTP routing entry configuration.

  • #include <syn_httpd.h>

Public Attributes

Type Name
void * ctx
SYN_HttpdHandler handler
SYN_HttpMethod method
const char * path

Public Attributes Documentation

variable ctx

void* SYN_HttpdRoute::ctx;

User context for handler


variable handler

SYN_HttpdHandler SYN_HttpdRoute::handler;

Handler function


variable method

SYN_HttpMethod SYN_HttpdRoute::method;

HTTP method to match


variable path

const char* SYN_HttpdRoute::path;

Path to match (or prefix + '*')



The documentation for this class was generated from the following file src/syntropic/net/syn_httpd.h