.. _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 2420 `_ 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 659 `_ 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|put] 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 1554 `_ 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] [masque-draft-03] Declaration: ``hcpc_create_command`` `src/plugins/hs_apps/http_connect_proxy_client.c line 2189 `_ 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 2271 `_ 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`` proxy-lite ------------------------------------------------------------------------- .. code-block:: console proxy-lite server-uri client-uri [fifo-size [k|m]] [segment-size [k|m]] [hsi-offload] [hsi-offload-stall] Declaration: ``proxy_lite_command`` `src/plugins/hs_apps/proxy_lite.c line 788 `_ Implementation: ``proxy_lite_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 2390 `_ 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 proxy-lite ------------------------------------------------------------------------- .. code-block:: console show proxy-lite Declaration: ``proxy_lite_show_command`` `src/plugins/hs_apps/proxy_lite.c line 813 `_ Implementation: ``proxy_lite_show_command_fn`` show test tls server ------------------------------------------------------------------------- .. code-block:: console show test tls server Declaration: ``show_tls_server`` `src/plugins/hs_apps/tls_server.c line 352 `_ Implementation: ``show_tls_server_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] [enable-masque-draft-03] Declaration: ``proxy_create_command`` `src/plugins/hs_apps/proxy.c line 1751 `_ Implementation: ``proxy_server_create_command_fn`` test tls client ------------------------------------------------------------------------- .. code-block:: console test tls client [uri ] [tls-engine %d] [profile-index %d] [verify ] [ca-cert ] [crl ] Declaration: ``tls_client_run_command`` `src/plugins/hs_apps/tls_client.c line 480 `_ Implementation: ``tls_client_run_command_fn`` test tls server ------------------------------------------------------------------------- .. code-block:: console test tls server uri [tls-engine %d] [profile-index %d] [cert key ] Declaration: ``tls_server_create_command`` `src/plugins/hs_apps/tls_server.c line 332 `_ Implementation: ``tls_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``