RUI3 (RAK Unified Interface 3) - RAK4631
bg77::qhttpreadfile

Public Member Functions

String set (String)
 
String set (String, int)
 

Member Function Documentation

◆ set() [1/2]

String set ( String  )
Description
This api is used to store the HTTP(S) response information from HTTP(S) server to a specified file, after HTTP(S) GET/POST requests are sent, thus allowing customers to retrieve the response information from the file.
Syntax
bg77.qhttpreadfile.set(file_name)
Parameters
file_nameString String type. File name. The max length of file name is 80 bytes.
Returns
String response

◆ set() [2/2]

String set ( String  ,
int   
)
Description
This api is used to store the HTTP(S) response information from HTTP(S) server to a specified file, after HTTP(S) GET/POST requests are sent, thus allowing customers to retrieve the response information from the file.
Syntax
bg77.qhttpreadfile.set(file_name,wait_time)
Parameters
file_nameString String type. File name. The max length of file name is 80 bytes.
wait_timeint Integer type. The maximum interval time between receiving two packets of data. The range is 1-65535, and the default value is 60. Unit: second.
Returns
String response