ofDoc
ofDoc
>
utils
>
ofURLFileLoader
Topics
Functions
ofHttpRequest
Attributes
Functions
ofHttpResponse
Attributes
Functions
ofURLFileLoader
Functions
ofURLFileLoader
file
Functions
ofLoadURL
()
ofHttpResponse
ofLoadURL
(string url)
ofLoadURLAsync
()
int
ofLoadURLAsync
(string url, string name="")
ofSaveURLTo
()
ofHttpResponse
ofSaveURLTo
(string url, string path)
ofSaveURLAsync
()
int
ofSaveURLAsync
(string url, string path)
ofRemoveURLRequest
()
void
ofRemoveURLRequest
(int id)
ofRemoveAllURLRequests
()
void
ofRemoveAllURLRequests
()
ofStopURLLoader
()
void
ofStopURLLoader
()
ofURLResponseEvent
()
ofEvent
ofURLResponseEvent
()
ofRegisterURLNotification
()
void
ofRegisterURLNotification
(T *obj)
ofUnregisterURLNotification
()
void
ofUnregisterURLNotification
(T *obj)
ofHttpRequest
class
Attributes
url
variable
string
url
name
variable
string
name
saveTo
variable
bool
saveTo
headers
variable
map< string, string >
headers
Functions
ofHttpRequest
()
ofHttpRequest
()
ofHttpRequest
(string url, string name, bool saveTo=false)
getID
()
int
getID
()
ofHttpResponse
class
Attributes
request
variable
ofHttpRequest
request
data
variable
ofBuffer
data
status
variable
int
status
error
variable
string
error
Functions
ofHttpResponse
()
ofHttpResponse
()
ofHttpResponse
(ofHttpRequest request, const ofBuffer &data, int status, string error)
ofHttpResponse
(ofHttpRequest request, int status, string error)
operator ofBuffer &
()
operator ofBuffer &
()
ofURLFileLoader
class
Functions
ofURLFileLoader
()
ofURLFileLoader
()
get
()
ofHttpResponse
get
(string url)
getAsync
()
int
getAsync
(string url, string name="")
saveTo
()
ofHttpResponse
saveTo
(string url, string path)
saveAsync
()
int
saveAsync
(string url, string path)
remove
()
void
remove
(int id)
clear
()
void
clear
()
stop
()
void
stop
()
handleRequest
()
ofHttpResponse
handleRequest
(ofHttpRequest &request)