.. _clicmd_src_plugins_hs_apps: =============================================================== Hs_apps cli reference =============================================================== clear http connect proxy client stats ------------------------------------------------------------------------- .. code-block:: console clear http connect proxy client stats Declaration: ``hcpc_clear_stats_command`` `src/plugins/hs_apps/http_connect_proxy_client.c line 2312 `_ Implementation: ``hcpc_clear_stats_fn`` http cli client ------------------------------------------------------------------------- .. code-block:: console [appns secret ] uri http[s]:/// [no-output] [http3] Declaration: ``hcc_command`` `src/plugins/hs_apps/http_client_cli.c line 654 `_ Implementation: ``hcc_command_fn`` http cli server ------------------------------------------------------------------------- .. code-block:: console http cli server [uri ] [fifo-size ] [private-segment-size ] [prealloc-fifos ] [listener ] [appns secret ] [http1-only] [http3-enabled] Declaration: ``hcs_create_command`` `src/plugins/hs_apps/http_cli.c line 876 `_ Implementation: ``hcs_create_command_fn`` http client ------------------------------------------------------------------------- .. code-block:: console [post] uri http:/// [data | file ] [use-ptr] [save-to ] [header ] [verbose] [timeout (default = 10)] [repeat | duration ] [sessions <# of sessions>] [appns secret ] [fifo-size ] [private-segment-size ] [prealloc-fifos ] [max-body-size ] [http1|http2|http3] [redirect] [max-redirects (default 10)] Declaration: ``hc_command`` `src/plugins/hs_apps/http_client.c line 1527 `_ Implementation: ``hc_command_fn`` http connect proxy client enable ------------------------------------------------------------------------- .. code-block:: console http connect proxy client enable server-uri interface listener [udp-idle-timeout ] [fifo-size ] [private-segment-size ] [prealloc-fifos ] [cert key ] [http3] Declaration: ``hcpc_create_command`` `src/plugins/hs_apps/http_connect_proxy_client.c line 2084 `_ Implementation: ``hcpc_create_command_fn`` http connect proxy client listener ------------------------------------------------------------------------- .. code-block:: console http connect proxy client listener [add|del] Declaration: ``hcpc_add_del_listener_command`` `src/plugins/hs_apps/http_connect_proxy_client.c line 2166 `_ Implementation: ``hcpc_add_del_listener_command_fn`` http tps ------------------------------------------------------------------------- .. code-block:: console http tps [uri ] [fifo-size ] [segment-size ] [prealloc-fifos ] [debug] [no-zc] [del] Declaration: ``http_tps_command`` `src/plugins/hs_apps/http_tps.c line 883 `_ Implementation: ``hts_create_command_fn`` show http connect proxy client ------------------------------------------------------------------------- .. code-block:: console show http connect proxy [listeners] [sessions] [stats] Declaration: ``hcpc_show_command`` `src/plugins/hs_apps/http_connect_proxy_client.c line 2282 `_ Implementation: ``hcpc_show_command_fn`` show http tps ------------------------------------------------------------------------- .. code-block:: console http tps [listeners] Declaration: ``show_http_tps_command`` `src/plugins/hs_apps/http_tps.c line 959 `_ Implementation: ``hts_show_command_fn`` show test alpn server ------------------------------------------------------------------------- .. code-block:: console show test alpn server Declaration: ``show_alpn_server`` `src/plugins/hs_apps/alpn_server.c line 271 `_ Implementation: ``show_alpn_server_fn`` test alpn client ------------------------------------------------------------------------- .. code-block:: console test alpn client [uri ] [tls-engine %d] Declaration: ``alpn_client_run_command`` `src/plugins/hs_apps/alpn_client.c line 342 `_ Implementation: ``alpn_client_run_command_fn`` test alpn server ------------------------------------------------------------------------- .. code-block:: console test alpn server uri [tls-engine %d] Declaration: ``alpn_server_create_command`` `src/plugins/hs_apps/alpn_server.c line 251 `_ Implementation: ``alpn_server_create_command_fn`` test proxy server ------------------------------------------------------------------------- .. code-block:: console test proxy server [server-uri ][client-uri ][fifo-size [k|m]][max-fifo-size [k|m]][high-watermark ][low-watermark ][rcv-buf-size ][prealloc-fifos ][private-segment-size ][private-segment-count ][idle-timeout ] [http3] Declaration: ``proxy_create_command`` `src/plugins/hs_apps/proxy.c line 1654 `_ Implementation: ``proxy_server_create_command_fn`` test-url-handler enable ------------------------------------------------------------------------- .. code-block:: console test-url-handler enable Declaration: ``test_builtins_enable_command`` `src/plugins/hs_apps/test_builtins.c line 199 `_ Implementation: ``test_builtins_enable_command_fn``