Http
request를 보낼 때 사용합니다.
Public methods
void
request(url: String, callBack: Function)
해당 url에 Jsoup를 통해 request를 보냅니다. 이 메서드는 비동기적입니다.
void
request(options: Object, callBack: Function)
Jsoup를 통해 request를 보냅니다. 이 메서드는 비동기적입니다.
org.jsoup.nodes.Document
requestSync(url: String)
동기적으로 request를 수행합니다.
org.jsoup.nodes.Document
requestSync(options: Object)
동기적으로 request를 수행합니다.
CallBack
callBack에는 다음과 같은 인자들이 순서대로 전달됩니다.
Options
options의 구조는 다음과 같습니다.
Last updated
Was this helpful?