Request wrapper of WWW, which works in edit and play mode
More...
|
static Func< string, string > | OnPrepareURL |
| Hook to intercept and modify the URL of any request More...
|
|
|
byte[]? | bytes [get] |
| Returns the contents of the fetched web page as a byte array More...
|
|
bool | isDone [get] |
| Gets whether the request is completed More...
|
|
override bool | keepWaiting [get] |
| Indicates if coroutine should be kept suspended More...
|
|
string? | text [get] |
| Returns the contents of the fetched web page as a string More...
|
|
virtual Texture2D | texture [get] |
| Returns a Texture2D generated from the downloaded data More...
|
|
abstract bool | hasErrors [get] |
| Gets whether the request contains an error More...
|
|
abstract string | error [get] |
| Gets an error of the request More...
|
|
Request wrapper of WWW, which works in edit and play mode
◆ WWWRequest()
InfinityCode.uPano.Requests.WWWRequest.WWWRequest |
( |
string |
url | ) |
|
Makes a new GET request by url
- Parameters
-
◆ OnPrepareURL
Func<string, string> InfinityCode.uPano.Requests.WWWRequest.OnPrepareURL |
|
static |
Hook to intercept and modify the URL of any request
◆ routine
IEnumerator InfinityCode.uPano.Requests.WWWRequest.routine |
◆ url
readonly string InfinityCode.uPano.Requests.WWWRequest.url |
◆ bytes
byte []? InfinityCode.uPano.Requests.WWWRequest.bytes |
|
get |
Returns the contents of the fetched web page as a byte array
◆ isDone
bool InfinityCode.uPano.Requests.WWWRequest.isDone |
|
get |
Gets whether the request is completed
◆ keepWaiting
override bool InfinityCode.uPano.Requests.WWWRequest.keepWaiting |
|
get |
Indicates if coroutine should be kept suspended
◆ text
string? InfinityCode.uPano.Requests.WWWRequest.text |
|
get |
Returns the contents of the fetched web page as a string
◆ texture
virtual Texture2D InfinityCode.uPano.Requests.WWWRequest.texture |
|
get |
Returns a Texture2D generated from the downloaded data