fn lua_to_context(
table: &LuaTable,
protocol: Protocol,
errors: Vec<GatewayError>,
) -> LuaResult<Context>Expand description
Rebuilds a Context from the table returned by the script’s execute.
request and response (including their headers and bodies) are
required and fail unmarshalling if malformed; query_params and
message are optional. protocol and errors are not exposed to Lua,
so the caller passes the original context’s values through unchanged.