|
Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
|
| ▼HTTP server and routing | Receive requests, select virtual directories and pages, and generate responses |
| Requests, responses, and routing | Native HTTP request, response, session, and routing interfaces shared by BAS and BWS |
| HTTP uploads | HttpUpload is a collection of classes that makes it easy to implement a remote file manager |
| C Server Pages | C Server Pages make it possible to insert C or C++ code into HTML template files by using special tags |
| ▼Filesystems and I/O | The I/O interface provides a common set of functions for working with files stored in various media types such as data stored on a standard file system, ZIP files, and network files |
| Standard I/O functions | The BaFile API specifies a number of standard I/O functions for working with files |
| ▼Clients and data protocols | Make outbound HTTP requests, exchange WebSocket or SMQ messages, and encode or parse data |
| The HTTP(S) client library. | The HttpClient library is the C side implementation for the Lua httpc library |
| WebSockets | Exchange browser messages through native asynchronous WebSocket callbacks |
| ▼JSON and UBJSON | JSON and UBJSON Reference Manual |
| ▼JSON Reference | JSON Reference Manual |
| JSON Parser Callback | JSON Parser Callback Interface |
| ▼UBJSON Reference | Universal Binary JSON Reference Manual |
| UBJSON Parser Callback | UBJSON Parser Callback Interface |
| XML parsing | This group documents the streaming xparser C API used by BAS's Lua XML binding |
| ▼Microcontroller clients and ports | Socket adapters, SMQ client, and bare-metal context support |
| Portable socket adapter | Platform-specific TCP operations behind a common native interface |
| ▼Native SMQ client | Publish and subscribe from C or C++ using a non-TLS SMQ connection |
| Error codes returned by function SMQ_getMessage | |
| Response codes returned by function SMQ_getMessage | |
| C API | |
| ▼Bare Metal Systems | |
| Context Manager | The SeCtx library makes it possible to use sequential functions in an event driven system such as a bare metal (non RTOS) system |
| ▼Authentication and TLS integration | Protect routes with Authentication and authorization and accept encrypted connections with HttpSharkSslServCon |
| Authentication and authorization | Please see Authenticating and authorizing users for an introduction to the classes in the Authentication group |
| ▼Lua embedding and bindings | Balua.h provides the public C API for creating, destroying, and configuring a BAS Lua/LSP VM |
| Weak Table reference | Functions designed to be similar to using luaL_ref(L, LUA_REGISTRYINDEX), lua_rawgeti(L, LUA_REGISTRYINDEX, ix), and luaL_unref(L, LUA_REGISTRYINDEX, ix), but with weak references |
| ▼Auxiliary API | Optional bindings implemented in xrc/lua and declared in inc/lxrc.h |
| The Lua Thread Library | See Advanced Lua Bindings, section Calling Lua Code Asynchronously From C Code for how to use this class |
| ▼Threads, memory, and utilities | Use the target port's thread and mutex interfaces, allocation contracts, and shared utilities |
| Thread handling | |
| Dynamic memory handling. | |
| Miscellaneous library functions | This header file contains functions that are used by the web-server |
| Formatted output |