| 731 | } |
| 732 | |
| 733 | static int |
| 734 | ts_lua_http_server_push(lua_State *L) |
| 735 | { |
| 736 | const char *url; |
| 737 | size_t url_len; |
| 738 | ts_lua_http_ctx *http_ctx; |
| 739 | |
| 740 | GET_HTTP_CONTEXT(http_ctx, L); |
| 741 | |
| 742 | url = luaL_checklstring(L, 1, &url_len); |
| 743 | TSHttpTxnServerPush(http_ctx->txnp, url, url_len); |
| 744 | |
| 745 | return 0; |
| 746 | } |
| 747 | |
| 748 | static int |
| 749 | ts_lua_http_is_websocket(lua_State *L) |
nothing calls this directly
no test coverage detected