Hs_apps cli reference
http cli client
[appns <app-ns> secret <appns-secret>] uri http://<ip-addr> query <query-string> [no-output]
Declaration: hcc_command
src/plugins/hs_apps/http_client_cli.c line 610
Implementation: hcc_command_fn
http cli server
http cli server [uri <uri>] [fifo-size <nbytes>] [private-segment-size <nMG>] [prealloc-fifos <n>] [listener <add|del>] [appns <app-ns> secret <appns-secret>]
Declaration: hcs_create_command
src/plugins/hs_apps/http_cli.c line 871
Implementation: hcs_create_command_fn
http client
[post] uri http://<ip-addr> target <origin-form> [data <form-urlencoded> | file <file-path>] [use-ptr] [save-to <filename>] [header <Key:Value>] [verbose] [timeout <seconds> (default = 10)] [repeat <count> | duration <seconds>]
Declaration: hc_command
src/plugins/hs_apps/http_client.c line 836
Implementation: hc_command_fn
http tps
http tps [uri <uri>] [fifo-size <nbytes>] [segment-size <nMG>] [prealloc-fifos <n>] [debug] [no-zc] [del]
Declaration: http_tps_command
src/plugins/hs_apps/http_tps.c line 862
Implementation: hts_create_command_fn
show http tps
http tps [listeners]
Declaration: show_http_tps_command
src/plugins/hs_apps/http_tps.c line 938
Implementation: hts_show_command_fn
test echo clients
test echo clients [nclients %d][[m|g]bytes <bytes>][test-timeout <time>][syn-timeout <time>][echo-bytes][fifo-size <size>][private-segment-count <count>][private-segment-size <bytes>[m|g]][preallocate-fifos][preallocate-sessions][client-batch <batch-size>][uri <tcp://ip/port>][test-bytes][verbose]
Declaration: ec_command
src/plugins/hs_apps/echo_client.c line 1338
Implementation: ec_command_fn
test echo server
test echo server proto <proto> [fifo-size <mbytes>][rcv-buf-size <bytes>][prealloc-fifos <count>][private-segment-count <count>][private-segment-size <bytes[m|g]>][uri <tcp://ip/port>]
Declaration: echo_server_create_command
src/plugins/hs_apps/echo_server.c line 775
Implementation: echo_server_create_command_fn
test proxy server
test proxy server [server-uri <proto://ip/port>][client-uri <tcp://ip/port>][fifo-size <nn>[k|m]][max-fifo-size <nn>[k|m]][high-watermark <nn>][low-watermark <nn>][rcv-buf-size <nn>][prealloc-fifos <nn>][private-segment-size <mem>][private-segment-count <nn>][idle-timeout <nn>]
Declaration: proxy_create_command
src/plugins/hs_apps/proxy.c line 1329
Implementation: proxy_server_create_command_fn
test-url-handler enable
test-url-handler enable
Declaration: test_builtins_enable_command
src/plugins/hs_apps/test_builtins.c line 188
Implementation: test_builtins_enable_command_fn