diff --git a/README.md b/README.md index 3ff6732..7a8e881 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,14 @@ If the value is present, it will also set the new value. If the value is `null`, The default value is `4096`. +### fastimage.userAgent([userAgent]) + +Gets or sets the User Agent String to send on outgoing requests. + +If the value is present, it will also set the new value. If the value is `null`, it will restore the default value. + +The default value is `4096`. + ### fastimage.FastImageStream A image analysis stream. diff --git a/docs/index.html b/docs/index.html index 576b390..bcc13a8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -149,6 +149,9 @@
Gets or sets the maximum number of secon
Gets or sets the maximum number of bytes to read to attempt an identification before giving up and state that the source is not an image.
If the value is present, it will also set the new value. If the value is null
, it will restore the default value.
The default value is 4096
.
Gets or sets the User Agent String to send on outgoing requests.
+If the value is present, it will also set the new value. If the value is null
, it will restore the default value.
The default value is 4096
.
A image analysis stream.
Streams will emit the size
and type
if you only need those informations about the image.
This error will be returned as the first argument of the callbacks if anything goes wrong.
@@ -179,7 +182,7 @@Gets or sets the user agent string to send when connecting to a host.
+Name | + + +Type | + + +Attributes | + + + + +Description | +
---|---|---|---|
value |
+
+
+ + + +string + + + + | + + +
+
+ <optional> + + + + + + |
+
+
+
+
+ The new value to set. Passing |
+
The current value
+