dreamworkAPI
Ctrl K
GitHub
typeDocs / http / Server / Exchange

http.Server.Exchange

typesource

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

NameTypeDescription
rawholylib.HttpRequest | holylib.HttpResponse | nilThe HolyLib object, nil once finished.
statehttp.Server.State | nilThe server state, nil for prepared responses.
guarduserdata | nilThe finalizer guard of a deferred request.
cachetable<string, any> | nilRequest properties read so far.
contentstring | nil
content_typestring | nil
statusinteger | nil
Generated from the dreamwork meta branch.