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

Public Member Functions

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

Member Function Documentation

◆ set() [1/4]

String set ( )
Description
This api sends GET Request to HTTP(S) Server
Syntax
bg77.qhttpget.set()
Returns
String response

◆ set() [2/4]

String set ( int  )
Description
This api sends GET Request to HTTP(S) Server
Syntax
bg77.qhttpget.set(rsptime)
Parameters
rsptimeint Integer type. The range is 1-65535, and the default value is 60. Unit: second. It is used to configure the timeout for the HTTP(S) GET response “+QHTTPGET: <err>[,<httprspcode>[,<content_length>]]” to be output after “OK” is returned.
Returns
String response

◆ set() [3/4]

String set ( int  ,
int  ,
String   
)
Description
This api sends GET Request to HTTP(S) Server
Syntax
bg77.qhttpget.set(rsptime,data_len,url)
Parameters
rsptimeint Integer type. The range is 1-65535, and the default value is 60. Unit: second. It is used to configure the timeout for the HTTP(S) GET response “+QHTTPGET: <err>[,<httprspcode>[,<content_length>]]” to be output after “OK” is returned.
data_lenint Integer type. The length of HTTP(S) request information, including HTTP(S) request header and HTTP(S) request body. The range is 1-2048. Unit: byte.
urlString String type. Input URL.
Returns
String response

◆ set() [4/4]

String set ( int  ,
int  ,
int  ,
String   
)
Description
This api sends GET Request to HTTP(S) Server
Syntax
bg77.qhttpget.set(rsptime,data_len,input_time,url)
Parameters
rsptimeint Integer type. The range is 1-65535, and the default value is 60. Unit: second. It is used to configure the timeout for the HTTP(S) GET response “+QHTTPGET: <err>[,<httprspcode>[,<content_length>]]” to be output after “OK” is returned.
data_lenint Integer type. The length of HTTP(S) request information, including HTTP(S) request header and HTTP(S) request body. The range is 1-2048. Unit: byte.
input_timeint Integer type. The maximum time for inputting HTTP(S) request information. The range is 1-65535, and the default value is 60. Unit: second.
urlString String type. Input URL.
Returns
String response