ReadonlyformatCustom options for formatting query strings
ReadonlyparseCustom options for parsing query strings
Check if wrapper is frozen (read-only).
true if wrapper is frozen, false otherwise
Get body buffer size in bytes.
Size of the body
Freeze wrapper to prevent modifications.
This wrapper for method chaining
Get body as JSON object (cached).
Optionalcharset: stringCharacter encoding (optional)
Parsed JSON object
Get body as query string object (cached).
Optionalcharset: stringCharacter encoding (optional)
Parsed query string as object
Set raw body buffer.
Buffer to set as body
This wrapper for method chaining
Set body from JSON object.
JSON object to stringify
Optionalcharset: stringCharacter encoding (optional)
This wrapper for method chaining
Set body from query string object.
Query string object
Optionalcharset: stringCharacter encoding (optional)
This wrapper for method chaining
Staticfrom
Wrapper for HTTP message body.