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

Public Member Functions

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

Member Function Documentation

◆ set() [1/2]

String set ( int  ,
String   
)
Description
The URL must begin with “http://” or “https://”, which indicates an HTTP or HTTPS server will be accessed.
Syntax
bg77.qhttpurl.set(URL_length,url)
Parameters
URL_lengthint Integer type. The length of URL. The range is 1-700. Unit: byte.
urlString String type. Input URL.
Returns
String response

◆ set() [2/2]

String set ( int  ,
int  ,
String   
)
Description
The URL must begin with “http://” or “https://”, which indicates an HTTP or HTTPS server will be accessed.
Syntax
bg77.qhttpurl.set(URL_length,timeout)
Parameters
URL_lengthint Integer type. The length of URL. The range is 1-700. Unit: byte.
timeoutint Integer type. The maximum time for inputting URL. The range is 1-65535, and the default value is 60. Unit: second.
urlString String type. Input URL.
Returns
String response

◆ get()

String get ( )
Description
The URL must begin with “http://” or “https://”, which indicates an HTTP or HTTPS server will be accessed.
Syntax
bg77.qhttpurl.get()
Returns
String response