1API Explained
This is a series of examples that explain how to use Bitty HTTP. It starts from a simple hello world web page and adds more with each example explaining and demoing each feature as it goes.
- The Basics
- Hello World
- CSS
- Graphics
- Dynamic Content
- GET Vars
- POST Vars
- Cookies
- Manual Headers
- URL encoding/decoding
- Waiting on a socket
- 404 Error Page
2Autodocs
The autodocs are the headers off the API. They document what API calls are available and how to use them. You can get the same information by looking at the source code, but this is easier to navigate.
- WS_COOKIE
- WS_GET
- WS_GetOSSocketHandles
- WS_Header
- WS_Init
- WS_Location
- WS_POST
- WS_SetCookie
- WS_SetHTTPStatusCode
- WS_Shutdown
- WS_Start
- WS_Tick
- WS_URLDecode
- WS_URLDecodeInPlace
- WS_URLEncode
- WS_WriteChunk
- WS_WriteChunkStr
- WS_WriteWhole
- WS_WriteWholeStr
3Examples
This is the source to the examples that are described in the API explained section.
- Hello World
- CSS
- Graphics
- Dynamic Content
- GET Vars
- POST Vars
- Cookies
- Manual Headers
- URL Encoding/Decoding
- Waiting on a socket
- 404 Error Page