MCPcopy Create free account
hub / github.com/apache/trafficserver / ts_lua_inject_http_retset_api

Function ts_lua_inject_http_retset_api

plugins/lua/ts_lua_http.cc:149–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static void
150ts_lua_inject_http_retset_api(lua_State *L)
151{
152 lua_pushcfunction(L, ts_lua_http_set_retstatus);
153 lua_setfield(L, -2, "set_retstatus");
154
155 lua_pushcfunction(L, ts_lua_http_set_retbody);
156 lua_setfield(L, -2, "set_retbody");
157
158 lua_pushcfunction(L, ts_lua_http_set_resp);
159 lua_setfield(L, -2, "set_resp");
160}
161
162static void
163ts_lua_inject_http_cache_api(lua_State *L)

Callers 1

ts_lua_inject_http_apiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected