Ulfius: Websockets

Ulfius HTTP Framework for REST Applications in C

Macros
Websockets

## Macros
#define | ULFIUS_URL_SEPARATOR "/"
#define | ULFIUS_HTTP_ENCODING_JSON "application/json"
#define | ULFIUS_HTTP_HEADER_CONTENT "Content-Type"
#define | ULFIUS_HTTP_NOT_FOUND_BODY "Resource not found"
#define | ULFIUS_HTTP_ERROR_BODY "Server Error"
#define | ULFIUS_COOKIE_ATTRIBUTE_EXPIRES "Expires"
#define | ULFIUS_COOKIE_ATTRIBUTE_MAX_AGE "Max-Age"
#define | ULFIUS_COOKIE_ATTRIBUTE_DOMAIN "Domain"
#define | ULFIUS_COOKIE_ATTRIBUTE_PATH "Path"
#define | ULFIUS_COOKIE_ATTRIBUTE_SECURE "Secure"
#define | ULFIUS_COOKIE_ATTRIBUTE_HTTPONLY "HttpOnly"
#define | ULFIUS_POSTBUFFERSIZE 65536
#define | U_STATUS_STOP 0
#define | U_STATUS_RUNNING 1
#define | U_STATUS_ERROR 2

## Detailed Description

Websocket management functions

## Macro Definition Documentation

## ◆ ULFIUS_URL_SEPARATOR

#define ULFIUS_URL_SEPARATOR "/"

Macro values

## ◆ ULFIUS_HTTP_ENCODING_JSON

#define ULFIUS_HTTP_ENCODING_JSON "application/json"

## ◆ ULFIUS_HTTP_HEADER_CONTENT

#define ULFIUS_HTTP_HEADER_CONTENT "Content-Type"

## ◆ ULFIUS_HTTP_NOT_FOUND_BODY

#define ULFIUS_HTTP_NOT_FOUND_BODY "Resource not found"

## ◆ ULFIUS_HTTP_ERROR_BODY

#define ULFIUS_HTTP_ERROR_BODY "Server Error"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_EXPIRES

#define ULFIUS_COOKIE_ATTRIBUTE_EXPIRES "Expires"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_MAX_AGE

#define ULFIUS_COOKIE_ATTRIBUTE_MAX_AGE "Max-Age"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_DOMAIN

#define ULFIUS_COOKIE_ATTRIBUTE_DOMAIN "Domain"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_PATH

#define ULFIUS_COOKIE_ATTRIBUTE_PATH "Path"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_SECURE

#define ULFIUS_COOKIE_ATTRIBUTE_SECURE "Secure"

## ◆ ULFIUS_COOKIE_ATTRIBUTE_HTTPONLY

#define ULFIUS_COOKIE_ATTRIBUTE_HTTPONLY "HttpOnly"

## ◆ ULFIUS_POSTBUFFERSIZE

#define ULFIUS_POSTBUFFERSIZE 65536

## ◆ U_STATUS_STOP

#define U_STATUS_STOP 0

## ◆ U_STATUS_RUNNING

#define U_STATUS_RUNNING 1

## ◆ U_STATUS_ERROR

#define U_STATUS_ERROR 2