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

Function ts_lua_inject_http_cache_api

plugins/lua/ts_lua_http.cc:162–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static void
163ts_lua_inject_http_cache_api(lua_State *L)
164{
165 lua_pushcfunction(L, ts_lua_http_get_cache_lookup_status);
166 lua_setfield(L, -2, "get_cache_lookup_status");
167
168 lua_pushcfunction(L, ts_lua_http_set_cache_lookup_status);
169 lua_setfield(L, -2, "set_cache_lookup_status");
170
171 lua_pushcfunction(L, ts_lua_http_set_cache_url);
172 lua_setfield(L, -2, "set_cache_url");
173
174 lua_pushcfunction(L, ts_lua_http_get_cache_lookup_url);
175 lua_setfield(L, -2, "get_cache_lookup_url");
176
177 lua_pushcfunction(L, ts_lua_http_set_cache_lookup_url);
178 lua_setfield(L, -2, "set_cache_lookup_url");
179
180 lua_pushcfunction(L, ts_lua_http_redo_cache_lookup);
181 lua_setfield(L, -2, "redo_cache_lookup");
182
183 lua_pushcfunction(L, ts_lua_http_get_parent_proxy);
184 lua_setfield(L, -2, "get_parent_proxy");
185
186 lua_pushcfunction(L, ts_lua_http_set_parent_proxy);
187 lua_setfield(L, -2, "set_parent_proxy");
188
189 lua_pushcfunction(L, ts_lua_http_get_parent_selection_url);
190 lua_setfield(L, -2, "get_parent_selection_url");
191
192 lua_pushcfunction(L, ts_lua_http_set_parent_selection_url);
193 lua_setfield(L, -2, "set_parent_selection_url");
194
195 lua_pushcfunction(L, ts_lua_http_set_server_resp_no_store);
196 lua_setfield(L, -2, "set_server_resp_no_store");
197
198 ts_lua_inject_cache_lookup_result_variables(L);
199}
200
201static void
202ts_lua_inject_http_transform_api(lua_State *L)

Callers 1

ts_lua_inject_http_apiFunction · 0.85

Tested by

no test coverage detected