====== WebPlugin:HandleRequest ======
The HandleRequest function is called on [[api:webplugin | WebPlugins]] when a user has visited the plugin's web page. When it is called it sends along a [[api:webplugin:HTTPRequest | HTTPRequest ]] object.

===== Return =====
The HandleRequest function is expected to return a string which may contain HTML and/or javascript or any other script that is interpreted by a browser.

===== Example =====
An example taken from the [[plugins:core]] plugin
<code lua>
function PlayerListWeb:HandleRequest( Request )
	local World = cRoot:Get():GetWorld()
	local Content = ""
	Content = Content .. "<br>Connected Players: <b>" .. World:GetNumPlayers() .. "</b><br>"
	Content = Content .. "<ul>"

	local PlayerList = World:GetAllPlayers()
	for i, Player in ipairs( PlayerList ) do
		Content = Content .. "<li>" .. Player:GetName()
	end

	Content = Content .. "</ul>"
	return Content
end
</code>
