Skip to main content

Module curl_transport

Module curl_transport 

Source
Expand description

Transport that outputs equivalent curl commands instead of making RPC requests.

Structsยง

CurlTransport
A transport that prints curl commands instead of executing RPC requests.

Functionsยง

append_jwt_auth ๐Ÿ”’
Appends a JWT Authorization header to a curl command.
build_jwt ๐Ÿ”’
Build a JWT using a secret
generate_curl_command
Generates a curl command for an RPC request.
shell_escape ๐Ÿ”’
Escapes a string for use in a single-quoted shell argument.