http.Server.Exchange
The data shared by a Request and its Response.
Never references the wrappers themselves, weak-key tables in LuaJIT are not ephemerons, so a value pointing back at its key would keep the entry alive forever.
Fields
| Name | Type | Description |
|---|---|---|
raw | holylib.HttpRequest | holylib.HttpResponse | nil | The HolyLib object, nil once finished. |
state | http.Server.State | nil | The server state, nil for prepared responses. |
guard | userdata | nil | The finalizer guard of a deferred request. |
cache | table<string, any> | nil | Request properties read so far. |
content | string | nil | |
content_type | string | nil | |
status | integer | nil |