MCPcopy Create free account
hub / github.com/chanify/chanify / luaContextGetUrl

Function luaContextGetUrl

core/webhook.go:204–208  ·  view source on GitHub ↗
(l *lua.LState)

Source from the content-addressed store, hash-verified

202}
203
204func luaContextGetUrl(l *lua.LState) int {
205 ctx := luaCheckContext(l)
206 l.Push(lua.LString(ctx.Request.URL.String()))
207 return 1
208}
209
210func luaContextGetBody(l *lua.LState) int {
211 ctx := luaCheckContext(l)

Callers

nothing calls this directly

Calls 3

luaCheckContextFunction · 0.85
PushMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected