libwebsockets
Lightweight C library for HTML5 websockets
Vhost mounts and options

Data Structures

struct  lws_protocol_vhost_options
 
struct  lws_http_mount
 

Enumerations

enum  lws_mount_protocols {
  LWSMPRO_HTTP = 0, LWSMPRO_HTTPS = 1, LWSMPRO_FILE = 2, LWSMPRO_CGI = 3,
  LWSMPRO_REDIR_HTTP = 4, LWSMPRO_REDIR_HTTPS = 5, LWSMPRO_CALLBACK = 6
}
 

Detailed Description

Vhost mounts and options

Enumeration Type Documentation

§ lws_mount_protocols

#include <lib/libwebsockets.h>

enum lws_mount_protocols This specifies the mount protocol for a mountpoint, whether it is to be served from a filesystem, or it is a cgi etc.

Enumerator
LWSMPRO_HTTP 

not supported yet

LWSMPRO_HTTPS 

not supported yet

LWSMPRO_FILE 

serve from filesystem directory

LWSMPRO_CGI 

pass to CGI to handle

LWSMPRO_REDIR_HTTP 

redirect to http:// url

LWSMPRO_REDIR_HTTPS 

redirect to https:// url

LWSMPRO_CALLBACK 

hand by named protocol's callback

2019  {
2020  LWSMPRO_HTTP = 0,
2021  LWSMPRO_HTTPS = 1,
2022  LWSMPRO_FILE = 2,
2023  LWSMPRO_CGI = 3,
2024  LWSMPRO_REDIR_HTTP = 4,
2025  LWSMPRO_REDIR_HTTPS = 5,
2026  LWSMPRO_CALLBACK = 6,
2027 };
Definition: libwebsockets.h:2023
Definition: libwebsockets.h:2021
Definition: libwebsockets.h:2022
Definition: libwebsockets.h:2024
Definition: libwebsockets.h:2025
Definition: libwebsockets.h:2020
Definition: libwebsockets.h:2026