<cUrl_Http>.Silent

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > CURL > cUrl_Http > cUrl_Http Properties >

<cUrl_Http>.Silent

 

Description

 

Get / Set option for executing CURL in silent mode.

 

Syntax

 

' GET

silentFlag = <cUrl_Http>.Silent

 

' SET

<cUrl_Http>.Silent = silentFlag

 

Returns

 

Value of the .Silent flag.

 

Parameters

 

Name

Type

Optional

Meaning

silentFlag

Boolean

Yes

Boolean flag to indicate silent mode preference.

 

Remarks

 

Official documentation of the silent flag: https://curl.se/docs/manpage.html#-s

 

Restrictions

 

See also

 

Examples

 

uses "curl"

 

Dim httpRequest As New cUrl_Http("https://www.thinbasic.com")

 

httpRequest.Silent = True  ' Instructs CURL to hide progress bar, for example

 

httpRequest.Exec