h2_client (h2 v0.6.0)

View Source

HTTP/2 Standalone Client Escript

A standalone HTTP/2 client that can be run from the command line.

Usage:

  h2_client URL [options]
 
  Options:
    -X, --method METHOD   HTTP method (default: GET)
    -H, --header K:V      Add request header (repeatable)
    -d, --data DATA       Request body
    --cert FILE           Client certificate (PEM)
    --key FILE            Client private key (PEM)
    --cacerts FILE        CA certificates (PEM)
    --insecure            Skip certificate verification
    -o, --output FILE     Write response to file
    --timeout SEC         Connection timeout (default: 30)
    -v, --verbose         Show detailed output
    -h, --help            Show this help

Summary

Functions

main(Args)

-spec main([string()]) -> no_return().