Introduction
Who Should Read This
Use Cases
Standalone Server
Monolithic System
Porting
Application Server
Getting Started
Constructing Server
C code
Enabling Lua
LSP & CSP
Virtual File System
Directory
Resource Reader
Web File Server
WebDAV
EventHandler
Constructing VFS
Hidden Files
Authentication
Basic & Digest
Form
Authenticator Types
Security Realms
Tracking Logins
Authorizing
Lua and C/C++ API's
Lua
Overview
LSP
HTTP Directories
Command Environment
Threads and Coroutines
External Links
APIs
ba
Encode/Decode
aesencode
aesdecode
aeskey
b64encode
b64decode
urlencode
urldecode
deflate
clock
create
authenticator
authorizer
authuser
jsonuser
dav
dir
domainresrdr
eh
wfs
resrdr
upload
exec
io
loadfile
mime
openio
mkio
parsedate
parselsp
rndseed
rnd
session
sessions
sleep
seterrh
timer
tracker
successful
attempted
clearcache
setlogh
users
request
Example
abort
allow
certificate
checktime
cookie
env
data
datapairs
domain
header
issecure
logout
method
multipart
peername
rawrdr
setnodelay
sockname
uri
url
user
version
response
bytecount
clearkeepalive
containsheader
createcookie
downgrade
encoderedirecturl
encodeurl
flush
forward
include
committed
initial
isforward
isinclude
getdata
getstatus
json
redirect
reset
send
senderror
sendredirect
setcontentlength
setbasic
setdigest
setcontenttype
setdateheader
setdefaultheaders
setheader
setmaxage
setresponse
setstatus
write
writesize
activate
delete
comment
maxage
name
path
secure
value
id
creationtime
lastaccessedtime
maxinactiveinterval
usecounter
attributes
terminate
onterminate
IO interface
io:open
io:resourcetype
io:type
io:files
io:stat
io:realpath
io:mkdir
io:rmdir
io:remove
io:rename
io:loadfile
io:dofile
io:hide
io:setpasswd
io:reqpasswd
io:encrypted
io:netconf
IO Error Codes
Auth Objects
Authenticator User Object
Authenticator Object
Authorizer Object
JSON Authorizer Object
HTTP directory
baseuri
insert
p403
service
setauth
setfunc
type
unlink
globals
print
trace
encode
decode
encodestr
null
parser
Auxiliary APIs
Crypto (SHA1)
Mail (SMTP)
HTTP clients
httpc
timeout
status
headerpairs
read
trusted
close
http
httpm
stat
post
download
TCP Socket
bind
connect
req2sock
http2sock
toip
event
Socket Methods
upgrade
accept
getpeername
getsockname
setoption
Socket Design
Asynchronous Sockets
Thread Lib
run
configure
SharkSSL
ba.create.sharkssl
ba.create.certstore
ba.create.sharkcert
Server Listen Sock
forkpty
LuaIo
C Interface
Persistence
JSON
LuaSQL
Error Handling
Environment Object
Cursor Object
Blob Object
Examples
Web-Services
SOAP
Services
Basic Example
Service Definition
JSON-RPC
XML-RPC
REST & AJAX
Lua Interpreter (blua)
Lua Reference
LspNetIo
LSP App Mgr
C & C++
C library
C++
C & OO
IPv6
CSP Intro
Duplicate Directories
Static Content
Dynamic Content
Debug-Release
Trace Library
Asynchronous
Threads
Advanced Use
Components
HttpAsynchReq
HttpAsynchResp
CSP
Service Function
CSP Tools
CspCompile
CspLink
CspMakeGen
Installing CSP
bin2c
EH clients
EH Protocol
EH Compiler
Command Line
EH Interface
Stub Code
Initializing
Installing
Persistent Session
WNMP
Reference Manual
Modules
Class List
Build Structure
Example Structure
Building
Target Libraries
Makefiles
CSP Introduction
HttpResMgr
Hangman (C)
Hangman (C++)
Security
SimpleDebugger (C)
SimpleDebugger (C++)
HttpPipe
Upload Firmware
Network Time
C Std Lib
JavaScript
Blocking
Constructor
Exceptions
Loading
Loading JS
Java
HTTPS Pipe
Index