WebClient

From Virtual World Web Wiki
Jump to: navigation, search

Class for making web requests to servers from the client

  • This is a JavaScript visible object

Remarks [edit]

Events

RequestCompleted(EventHandler<FlexibleEventArgs<int, string>>)
Parameters:
status : Status code of the response
response : Content of the response

Methods

bool Get(string url)
Initiates a GET request to the given URL
bool Post(string url, string postdata)
Initiates a POST request to the given URL with with provided data.