vim.net.request.Opts
@inlinedoc
Fields6
Opts.verbose : nil | boolean
Enables verbose output.
Opts.retry : nil | integer
Number of retries on transient failures (default: 3).
Opts.body : nil | string
Request body for POST/PUT/PATCH requests.
Opts.outpath : nil | string
File path to save the response body to.
Opts.outbuf : nil | integer
Buffer to save the response body to.
Opts.headers : {string, string} | nil
Custom headers to send with the request. Supports basic key/value headers and empty headers as supported by curl. Does not support "@filename" style, internal header deletion ("Header:").