(l *lua.LState)
| 220 | } |
| 221 | |
| 222 | func luaContextGetQuery(l *lua.LState) int { |
| 223 | ctx := luaCheckContext(l) |
| 224 | if v, ok := ctx.GetQuery(l.CheckString(2)); ok { |
| 225 | l.Push(lua.LString(v)) |
| 226 | } else { |
| 227 | l.Push(lua.LNil) |
| 228 | } |
| 229 | return 1 |
| 230 | } |
| 231 | |
| 232 | func luaContextGetHeader(l *lua.LState) int { |
| 233 | ctx := luaCheckContext(l) |
nothing calls this directly
no test coverage detected