http pool

For network.

Configure and reset builtin http connection pool.

Command Type

built-in

Signature

> http pool {flags}

Flags

  • --insecure, -k: Allow insecure server connections when using SSL.
  • --allow-errors, -e: Do not fail if the server returns an error code.
  • --redirect-mode, -R {string}: What to do when encountering redirects. Default: ‘follow’. Valid options: ‘follow’ (‘f’), ‘manual’ (‘m’), ‘error’ (‘e’).
  • --unix-socket, -U {path}: Connect to the specified Unix socket instead of using TCP.

Input/output types:

input output
nothing any

Notes

All connections inside http connection pool will be closed.

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.