SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

RESTClient Configuration

The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.

RESTClient Configuration Settings

ForceNTLMAuth:   Set this property to True to force NTLM (Windows Integrated) authentication.

Set this property to True to force NTLM (Windows Integrated) authentication.

IgnoreUnknownTransferEncodings:   All incoming responses with unknown transfer encodings are ignored if this property is true.

All incoming responses with unknown transfer encodings are ignored if this property is true.

MaxRedirections:   The maximum number of HTTP redirects.

Specifies the maximum number of HTTP redirects. Value 0 prevents any redirections, and -1 allows unlimited redirections.

PersistentAuthHeader:   Whether to resend NTLM negotiation on every request.

Specifies whether to resend NTLM negotiation on every request.

RequestCompressionGZip:   Ask server to use GZip compression.

Ask server to use GZip compression.

RequestCompressionLevel:   Ask server to use the specified compression level.

Ask server to use the specified compression level.

SendBufferSize:   Size of send buffer in bytes.

The size of blocks used to send data to the server.

SuppressRedirectionContent:   Whether to suppress the redirection content.

If this property is set to True, the redirection content will be silently suppressed by the class. Otherwise the message containing a redirection code will be processed as usual, the Redirection event will be fired, and the data will be written to OutputString or OutputBytes.

TempPath:   Path for storing temporary files.

This setting specifies an absolute path to the location on disk where temporary files are stored.

Use100Continue:   Whether to use 100-continue for POST and PUT commands.

Set this property to True to use the 100-continue approach for POST and PUT commands. In this approach, prior to sending the request body, the client sends a request message asking the server whether it is willing to accept the request body. The request body is sent only if the server accepts it.

UseCompression:   Whether to use GZip compression.

Use this property to tell the server that it can transfer GZIPped data (if the server supports it).

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Node.js Edition - Version 20.0 [Build 8166]